An interactive tutorial website for learning WebGL.
- Setup the environment:
source .env.example - Install dependencies:
pip install -r requirements.txt - Setup the database
- Install postgres
- Create database:
$ psql # create database tutorials_dev; CREATE DATABASE #\q
- Migrate database:
python manage.py db upgrade
- Run the server:
python manage.py runserver
- Setup the database
- Install postgres
- Create a postgres account for your Windows user account.
- Create database:
$ psql # create database tutorials_dev; CREATE DATABASE #\q
- Setup the environment
- Edit the file
./.env.example.ps1 - Change the database URL in line 2. It should be in the format
$ENV:DATABASE_URL="postgresql://<user>:<password>@localhost:5432/tutorials_dev" ./.env.example.ps1
- Edit the file
- Install dependencies:
pip install -r requirements.txt - Migrate database:
python manage.py db upgrade - Run the server:
python manage.py runserver