Requirements: Python 3.6 at least
To set up local server:
-
Use pip to install virtualenv python get-pip.py pip install virtualenv
-
Create a virtualenv virtualenv name_of_env \path\to\env\Scripts\activate
-
Initialize app
- Go to 'SPACEX-Trello' directory and run 'pip freeze -r requirements.txt' to install dependencies
- Create 'settings.py' file and add your Trello api key, token, and the id of the board and list to add the tasks
- To run the app: uvicorn main:app --reload
- To run the tests: pytest tests.py