Giter Site home page Giter Site logo

dice-on-demand's Introduction

Build Status

dice-on-demand

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/

Installation

  1. Clone this repo, and enter it
  2. Execute this -
pip install -r requirements.txt
# or if you're still using python 2
pip3 install -r requirements.txt
  1. Now that all the dependencies are installed, we can run the program!
flask run
  1. Go to the URL provided by the app (i.e. http://localhost:5000)

Usage

  1. First off, enter the number of sides of your dice. (Some games might require you to use 20-sided dice)
  2. Now, click on the roll button!
  3. You should see a message on the screen - "You Rolled a ..."
  4. That's it!

dice-on-demand's People

Contributors

anirudhrowjee avatar mehulsatardekar avatar srujandeshpande avatar

Watchers

 avatar  avatar

dice-on-demand's Issues

Remove the alert

When someone rolls a dice, an Alert pops up. Alerts are irritating, so replace the Alert with the number appearing on screen. Preferably in a large font, or easily visibly

Instructions on Usage

The readme does not provide any instructions on how to actually use the program.
It may be simple, or self explanatory but always good to have detailed steps!

Add a background to the webpage

The page looks really bland.
How about we add a Linear Gradient background with colors of your choice, at a diagonal angle.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.