Skip to content

Commit

Permalink
added build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
chr-peters committed Mar 28, 2021
1 parent 9c10ac6 commit 7d5205b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,18 @@ The app is build using a simple Flask backend and can be deployed using docker.
Right now it is running on Heroku free tier.

[![screenshot](https://raw.githubusercontent.com/cxan96/strong-but-simple-passwords/main/screenshot.png)](https://strong-but-simple-passwords.herokuapp.com)


## Running locally with Docker

First, build the image:
```Shell Session
docker build --tag strong-but-simple-passwords .
```

The run it:
```Shell Session
docker run --publish 5000:5000 --env SECRET_KEY=something-secret --env FLASK_ENV=development strong-but-simple-passwords
```

Now open `localhost:5000` in a web-browser and you will see the app.

0 comments on commit 7d5205b

Please sign in to comment.