This is my development setup for Python projects. It is constantly updated with new settings and tools.
- Clone this repository
- Copy all the content (except .git folder)
- Rename the project in .devcontainer/devcontainer.json
Prerequisites:
- Docker
- Docker-compose
- Install Remote - Containers extension in VSCode
This project is configured with a devcontainer. When openning the project in VSCode you will be asked to reopen it inside a devcontainer. Just wait the container to be ready (it may take some minutes in the first time) and your local environment will be ready with all dependencies and VSCode extensions installed.
Create an .env file:
cp .env_template .envRun the application
makeRun the tests
make testOpen terminal inside docker container
docker-compose run --rm app bashInstall dependencies
pipenv install --devYou will be able to run the same commands to run the application.