Montréal-Python Website 🔗
Montréal-Python has adopted a Code of Conduct that we expect project participants to adhere to. If you need more informations please read the full text for an overview of the types of behaviours deemed inappropriate. Please read so that you can understand what actions will and will not be tolerated.
Configure your local env file:
$ cp .env.example .env
To get a complete setup you'll also need to obtain a valid YOUTUBE_API_KEY.
Start the services:
$ docker-compose up
Run initial DB setup:
$ pipenv run python manage.py migrate
$ pipenv run python manage.py loaddata fixtures/00{1,2,3,4}_*.json
We use Pipenv to track the dependencies.
Some useful commands:
Setup the virtualenv and install the locked dependencies:
$ pipenv install
Run a command in the virtualenv:
$ pipenv run python manage.py runserver
Install a new dependency:
$ pipenv install 'requests'
For development dependencies:
$ pipenv install --dev 'pytest'
Update the Pipfile.lock
file:
$ pipenv lock
Display a graph of the installed packages and their dependency relationships:
$ pipenv graph # --reverse
Continuous deployments is enabled on the master branch.
The Montréal-Python website is Apache licensed.