Skip to content

Arfaouim/Flask-heroku-tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Flask-heroku-tools

Flask-heroku usefuls tools

Welcome to Flask-heroku Deploying !

  1. get to bash console
  2. $ heroku login
  3. $ cd myapp
    $ git init
    Initialized empty Git repository in .git/
    $ git add .
    $ git commit -m "My first commit"
    Created initial commit 5df2d09: My first commit
     44 files changed, 8393 insertions(+), 0 deletions(-)
     create mode 100644 README
     create mode 100644 Procfile
     create mode 100644 app/controllers/source_file
    ...
    
  4. For a new Heroku app
    $ heroku create
    Creating app... done, ⬢ thawing-inlet-61413
    https://thawing-inlet-61413.herokuapp.com/ | https://git.heroku.com/thawing-inlet-61413.git
    
  5. $ git remote -v
    heroku  https://git.heroku.com/thawing-inlet-61413.git (fetch)
    heroku  https://git.heroku.com/thawing-inlet-61413.git (push)
    
  6. Deploying Code via heroku client

    $ git push heroku master
    Initializing repository, done. updating 'refs/heads/main' ...

  7. Done.

To check Errors

To check errors use the command heroku logs --tail

Refernces :

https://devcenter.heroku.com/articles/git

Releases

No releases published

Packages

No packages published