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