Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bmwant/templio
Python 3 aiohttp npm heroku web template
https://github.com/bmwant/templio
aiohttp asyncio boilerplate cookiecutter-template heroku npm python python3 skeleton-application tox travis-ci
Last synced: 22 days ago
JSON representation
Python 3 aiohttp npm heroku web template
- Host: GitHub
- URL: https://github.com/bmwant/templio
- Owner: bmwant
- License: unlicense
- Created: 2018-03-03T12:39:53.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-07T12:56:36.000Z (about 6 years ago)
- Last Synced: 2024-11-23T05:12:10.531Z (about 1 month ago)
- Topics: aiohttp, asyncio, boilerplate, cookiecutter-template, heroku, npm, python, python3, skeleton-application, tox, travis-ci
- Language: Python
- Homepage: http://bmwlog.pp.ua/post/129
- Size: 54.7 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
## Cookiecutter aiohttp web application
[Cookiecutter](https://cookiecutter.readthedocs.io/en/latest/) template for easier creation of aiohttp web application
hosted on [Heroku](https://www.heroku.com).### Features
* Testing with [py.test](https://docs.pytest.org/en/latest/).
* Continuous integration with Travis.
* Template rendering with [Jinja2](http://jinja.pocoo.org/).
* JS packages management with [npm](https://www.npmjs.com/).
* CSS Framework using [siimple](https://siimple.juanes.xyz/documentation/).
* Command line interface using [Click](http://click.pocoo.org/6/) (_optional_).### Quickstart
Install the latest Cookiecutter if you haven't installed it yet:
```
pip install -U cookiecutter
```Generate a new aiohttp project
```
cookiecutter https://github.com/bmwant/templio.git
```Then:
* Create a repo and put it there.
* Add the repo to your [Travis-CI]( http://travis-ci.org/) account (_optionally_).
* Install the requirements into a virtualenv (`pipenv install`).
* Deploy project with `git push heroku:master`.### Customization
If you need different project structure of add any improvement - feel free to create a PR
or make your own modifications within the fork.
For more details about starting new project from this template refer to
[this article](http://bmwlog.pp.ua/post/129).
More information about deployment can be found [here](https://devcenter.heroku.com/articles/getting-started-with-python#deploy-the-app).