-
Notifications
You must be signed in to change notification settings - Fork 0
Detailed Build Process
sam1rm edited this page Oct 21, 2015
·
2 revisions
Compile all assets into app.js
gulp -b
Start local python server from root uguru directory
honcho start -f ProcfileDev
Open localhost:5000/app/
in browser of choice.
Make sure nothing is out of place from your :8100 local server
You are not longer in live re-load mode
First make sure
-
Device is in the same wifi as computer running the server
-
Edit run.py as specified below
### Before
manager.run()
# app.run(host='192.168.0.102', port=5000)
### After
# manager.run()
app.run(host='{{YOUR LAN IP}}', port=5000)
cd ~/uguru/
git add -A .
git commit -m "{{YOUR MESSAGE HERE}}"
git push origin {{YOUR BRANCH}}
FIRST TIME SETUP
git remote add staging https://git.heroku.com/uguru-rest-test.git
^^ If this doesn't work for you, login to your @uguru.me email address & search for Heroku - you may need to accept the invite
TEST that it WORKS
git remote -v
staging https://git.heroku.com/uguru-rest-test.git (fetch)
staging https://git.heroku.com/uguru-rest-test.git (push)
Push it to staging
git push staging {{YOURBRANCH}} : master