Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jinankjain/webapp-template
Boilerplate code for Django based webapp deployed on Heroku
https://github.com/jinankjain/webapp-template
Last synced: about 2 months ago
JSON representation
Boilerplate code for Django based webapp deployed on Heroku
- Host: GitHub
- URL: https://github.com/jinankjain/webapp-template
- Owner: jinankjain
- Created: 2016-01-25T13:47:18.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2015-08-19T13:55:44.000Z (over 9 years ago)
- Last Synced: 2023-07-16T03:10:33.599Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 152 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Webapp template - Django with AngularJS
## Boilerplace code to get you running on Heroku in minutes![](https://dl.dropboxusercontent.com/u/8717749/herokuWebapp.png)
[Sample Live App](https://desolate-stream-5283.herokuapp.com/)
## Pre-requisites
- Python
- Node
- postgresql
- heroku toolbelt installed
- Setup an environment variable: DATABASE_URL=postgres:///$(whoami)## Pre-setup steps
- [Optional][Recommended] Make sure you have virtualenv setup to avoid python package conflicts## Setup sets
- `$git clone https://github.com/shashank-iitj/webapp-template.git`
- `$cd webapp-template`
- `$chmod +x setupWebapp.sh`
- `$./setupWebapp.sh`## Notes for geeks
###Setups already handled by template:
#### Heroku Specific
- Procfile
web: gunicorn webapp.wsgi --log-file -
- Setting file to parse database configuration from $DATABASE_URL
- staticfile and other setups in heroku-django docs
- wsgi.py to enable configs done in app
- .gitignore#### Webapp specific
- .bowerrc : file to specify where the bower components are stored
- .buildpacks : file to tell heroku which all frameworks need to be installed
- node essential packages as described in package.json and postScript to do various tasks
- bower installations
- gulp.js build to automate tasks like js minification etc.## References:
- https://devcenter.heroku.com/articles/getting-started-with-python
- https://devcenter.heroku.com/articles/getting-started-with-django
- https://thinkster.io/django-angularjs-tutorial/