No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
form
static
templates
test
.gitignore
Procfile
README.md
__init__.py
config.py
models.py
requirements.txt
routes.py
sqlite3.db

README.md

#Custom Form Example This application is made using Flask. Visit https://bugzilla-mozilla.herokuapp.com.

Form Customization

To customize the form, two files need to be changed - config.py and form/form_model.py

  • form/form_model.py - Contains the structure of the form. Types of fields are mentioned here, though almost all have been covered in this example form.

  • config.py - All the variables required to deploy the app

##Installation

###Running Locally

#Clone the repository
$ git clone https://github.com/mozilla-bteam/custom-form-example customforms
$ cd customforms

#Install dependencies and start the app
$ pip3 install -r requirements.txt
$ gunicorn __init__:app

###Deployment Instruction This app is configured to be easily deployable on heroku.

Setup the heroku app (after installing Heroku Toolbelt). This might help

$ heroku create <app name>
$ git push heroku master

##UI Form Style