Get a flexible dice on demand! View the step-by-step procedure of of to make this app at https://medium.com/@srujandeshpande/building-a-python3-flask-web-app-with-ci-cd-using-travis-ci-and-heroku-10529f9d27a
This application is writen and Python and uses Flask as the web framework. It serves a single HTML page.
Gunicorn is used for the production server.
Continous Integration is managed using Travis-CI
Continous Deployement is managed using Heroku
Test out this app at http://dice-on-demand.herokuapp.com/
- Clone this repo, and enter it
- Execute this -
pip install -r requirements.txt
# or if you're still using python 2
pip3 install -r requirements.txt
- Now that all the dependencies are installed, we can run the program!
flask run
- Go to the URL provided by the app (i.e.
http://localhost:5000
)
- First off, enter the number of sides of your dice. (Some games might require you to use 20-sided dice)
- Now, click on the
roll
button! - You should see a message on the screen - "You Rolled a ..."
- That's it!