-
Install Python 3.5 or newer
-
Install extra project modules by issuing the following command from the terminal:
cd "C:\path\to\the\project\folder" pip install -r requirements.txt
-
Apply migrations:
python manage.py migrate
-
Start server:
python manage.py runserver
-
Install npm (npm is installed with Node.js)
-
Install extra project modules by issuing the following command from the second terminal:
cd "C:\path\to\the\project\folder\www" npm install
-
Start server:
npm run dev
{compiled successfully - ready on http://localhost:3000}
```
cd "C:\path\to\the\project\folder"
docker-compose up
```
{compiled successfully - ready on http://localhost:3000}
-
From the command line:
``` curl -X POST http://localhost:8000/auth/users/ -d "username=user1&password=user-1-pas" ``` {"username":"user1","id":5}
-
From the browser: click "Sign up" [Password must contain at least 8 characters.]
-
Login as a user: In the browser, click "Sign in"