We are making a dispenser with micro:bit and a lot of shit this time
-
Prerequisites
-
Open VSCode in this folder
-
Create a file named
.env
at the root of this folder according to this format# from django.core.management.utils import get_random_secret_key # get_random_secret_key() SECRET_KEY='<fill your seed here>' JWT_KEY='<fill your seed here>' # Postgres # If you change any of these POSTGRES parameters, you have to update DATABASE_URL too POSTGRES_USER=what-is-love POSTGRES_PASSWORD=baby-dont-hurt-me POSTGRES_DB=no-more POSTGRES_HOST=postgres POSTGRES_PORT=5432 # Django HOST=0.0.0.0 PORT=3109 # postgres://<DB user>:<DB user password>@<host>:<port>/<DB name> DATABASE_URL=postgres://what-is-love:baby-dont-hurt-me@postgres:5432/no-more
-
Command Palette
->Remote-Containers: Reopen in Container