- cd /var/www
- sudo mkdir project_name
- sudo chown user:user project_name
- git clone https://github.com/wayne-abarquez/demo_boilerplate.git project_name
- cd project_name/
- bin/setup.sh
- bin/createdb.sh
- bin/setup-nginx.sh
- python manage.py db upgrade
- bin/local/run-app.sh
Note: it is using port 82
- bin/local/setup-client-tools.sh
- bin/local/setup-nginx.sh
- cd client
- npm install
- bower install
- then you can execute gulp tasks.
- gulp build and gulp watch
- bin/local/run-app.sh
git remote add origin https://github.com/user/reponame.git
git remote set-url origin https://github.com/user/reponame.git
Note: creation tables is based on sqlalchemy models After creating models, import models in manage.py then issue command: python manage.py db init
python manage.py db migrate
python manage.py db upgrade