source: OpenRLabs-Git/deploy/rlabs-docker/web2py-rlabs/scripts/setup-web2py-heroku.sh @ 42095c5

mainqndtest v1.1.1
Last change on this file since 42095c5 was 42bd667, checked in by David Fuertes <dfuertes@…>, 4 years ago

Historial Limpio

  • Property mode set to 100755
File size: 433 bytes
Line 
1read -p "Choose your admin password?" passwd
2sudo pip install virtualenv
3virtualenv venv --distribute
4source venv/bin/activate
5sudo pip install psycopg2
6pip freeze > requirements.txt
7echo "web: python web2py.py -a '$passwd' -i 0.0.0.0 -p \$PORT" > Procfile
8git init
9git add .
10git add Procfile
11git commit -a -m "first commit"
12heroku create
13git push heroku master
14heroku addons:add heroku-postgresql:dev
15heroku scale web=1
16heroku open
Note: See TracBrowser for help on using the repository browser.