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