Guest User

Untitled

a guest
Nov 24th, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. 1. $ heroku login #heroku hesabına giris
  2. 2. $ cd my-flask-app/ #flask uygulamanızın bulundugu dizine gidin
  3. 3. $ git init #yeni repo olusturun
  4. 4. $ heroku create #yani heroku app i olusuturuyoruz
  5. 5. $ git remote -v #baglanti kuracagimiz heroku app ini goruyoruz
  6. 6. $ virtualenv venv
  7. 7. $ source venv/bin/activate
  8. 8. $ pip install flask
  9. 9. $ nano Procfile #Flask in
  10. calismasi icin olusturyoruz
  11. 10.$ pip install gunicorn
  12. 11.$ pip freeze
  13. 12.$ pip freeze > requirements.txt
  14. 13.$ deactivate #ven i deaktif ediyoruz
  15. 14.$ git status
  16. 15.$ git add .
  17. 16.$ git commit -m "inital commit"
  18. 17.$ git push heroku master
Add Comment
Please, Sign In to add comment