Refer to the Fellowship LMS for information!
Use Pipenv
to manage virtual environment and install the dependencies. More details can be found in Pipenv Documentation.
python3 -m pip install pipenv
python3 -m pipenv install --dev
python3 -m pipenv shell
flask run
pytest test_pytest.py
pylint *.py
You can use docke-compose
to setup the development environment. Use following steps to setup the environment.
docker-compose.override.yml
file copying the given docker-compose.override.yml.example
file. docker-compose.override.yml
file if you want to use different port.If you are running the environment for the first time, or you have made changes to the Dockerfile
run following command.
docker-compose build
docker-compose up
docker-compose down
docker-compose exec app pipenv install <package-name>
More information can be found in Docker Compose Documentation.