Skip to content

tayots/benevola

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

  1. cd /var/www
  2. sudo mkdir project_name
  3. sudo chown user:user project_name
  4. git clone https://github.com/wayne-abarquez/demo_boilerplate.git project_name
  5. cd project_name/
  6. bin/setup.sh
  7. bin/createdb.sh
  8. bin/setup-nginx.sh
  9. python manage.py db upgrade
  10. bin/local/run-app.sh

For Development

Note: it is using port 82

  1. bin/local/setup-client-tools.sh
  2. bin/local/setup-nginx.sh
  3. cd client
  4. npm install
  5. bower install
  6. then you can execute gulp tasks.
    • gulp build and gulp watch
  7. bin/local/run-app.sh

Set it to your Git Repo

git remote add origin https://github.com/user/reponame.git

or

git remote set-url origin https://github.com/user/reponame.git

Setup DB Tables

Note: creation tables is based on sqlalchemy models After creating models, import models in manage.py then issue command: python manage.py db init

add import geoalchemy2 on mako.py

create schema, you need to edit schema to verify tables created

python manage.py db migrate

this command actually creates the tables

python manage.py db upgrade

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published