FayIR is a project which provides chance to bring musical venues and artists together. You can add a show with an Artist in an Venue and control all of these processes.
To start and run the local development server,
- Find config.py file and change Database with yours:
If you use any database other than Postgres, you have to add your dialect package to requirements.txt
$ SQLALCHEMY_DATABASE_URI = '<Put your local database url>'
$ flask db init
$ flask db migrate
$ flask db upgrade
- Initialize and activate a virtualenv:
$ cd YOUR_PROJECT_DIRECTORY_PATH/
$ python3 -m venv venv
$ source venv/bin/activate
- Install the dependencies:
$ pip install -r requirements.txt
- Run the development server:
$ export FLASK_APP=myapp
$ export FLASK_ENV=development # enables debug mode
$ python3 app.py
- Navigate to Home page http://localhost:5000