cookiecutter is a python utility by @audreyr to create python skeleton for new Python apps
cookiecutter-appbase a application boilerplate for scroll style Python apps.
It builds envioronment for common scroll python project requirements
For example if we are creating a new project with the name Our New App and slug is our_new_app ..
- It copies files directories in {{cookiecutter.project_slug}} directory to our_new_app
- It has ability to use variables declared in cookiecutter.json in naming file/directory names and in template.
- eg. {{cookiecutter.project_slug}} directory will be renamed our_new_app
- any files with text {{cookiecutter.}} will be replaced with it's corresponding value defined in cookiecutter.json
pip install cookiecutter cookiecutter [email protected]:scrolltech/cookiecutter-appbase.git cd <app dir> pip install -r requirements.txt gunicorn service:__hug_wsgi__ # verify firefox http://127.0.0.1:8000/echo/hello-world
I couldn't quickly figure out cookiecutter inspite of it's simplicity and good documentation. So here are some notes
pip install cookiecutter
- Fork github.com/audreyr/cookiecutter-pypackage
- Rename cookiecutter-appbase
git clone [email protected]:<gituser>/cookiecutter-appbase.git
vi cookiecutter.json