Installation¶
First read Requirements.
It is good practise to create a virtual environment before installing the python package requirements. Virtual environments can be considered a sand boxed python installation for a specific application. They are used since one application may require a different version of a python module than another.
Getting Flicket¶
The source code for Flicket is hosted at GitHub. You can either get the latest frozen zip file or use the latest master branch.
Warning
If you are upgrading from a previous version please read the CHANGELOG.
Installing Python Requirements¶
Install the requirements using pip::
(env) C:\<folder_path>\flicket> pip install -r requirements.txt
Set Up¶
Create your database and a database user that will access the flicket database.
If you are using a database server other than MySQL you should change the db_type value within config.py. See SQLAlchemy_documentation for options.
Create the configuration json file:
python -m scripts.create_json
Upgrade the database using manage.py from the command line:
python manage.py db upgrade
Run the set-up script:. This is required to create the Admin user and site url defaults. These can be changed again via the admin panel once you log in:
python manage.py run_set_up
Running development server for testing:
python manage.py runserver
Log into the server using the username admin and the password defined during the setup process.