- Clone the project :
git clone git@github.com:TheJulienM/webatrio-test-technique-flask.git
- Go to the project folder :
cd webatrio-test-technique-flask
- Create your virtualenv :
virtualenv venv
- Activate your virtualenv :
- On Windows :
venv\Scripts\activate
- On Linux / macOS :
source venv/bin/activate
- On Windows :
- Create a .env file from the .env.example:
- On Windows :
copy .env.example .env
- On Linux / macOS :
cp .env.example .env
- On Windows :
- Edit the database URL with your own configuration
- Note : Your can use the database of the first project https://github.com/TheJulienM/webatrio-test-technique
- Install the necessary dependencies for this project in the virtualenv :
pip install -r requirements.txt
- Run the project
py app.py
- Now, the Flask application should be ready. Go to http://localhost:5000/ (the port may be different)
TheJulienM/webatrio-test-technique-flask
Flask version of https://github.com/TheJulienM/webatrio-test-technique
Python