-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
Description
This assignment is based on DevHub. Please check repository before starting with this assignment.
As a task, you need to implement basic functionality for Django 2 project. Video describing all the details:
Shortly,
- you need to fork this repository
- then in
assignments/assignment2/solutionscreate a new folder associated with your username. Example:assignments/assignment2/solutions/kenanbek - as a base version copy
assignments/assignment2/devhub-0.1.0to this directory - start with the implementation of the following tasks
Tasks for Assignment2:
- Introduce Django backend and frontend (separate from React frontend)
- Introduce database model classes
- User register model (via Django frontend)
- User login model (via Django frontend)
- Setup Docker environment for Django project with Postgres database
In the example folder (assignments/assignment2/solutions/kenanbek) you can find a solution for the first task. Video explaining the solution:
Exact steps to start with the assignment:
cd assignments/assignment2
cp -R devhub-0.1.0 solutions/<YOUR-GITHUB-USERNAME>
cd solutions/<YOUR-GITHUB-USERNAME>
virtualenv venv -p python3
source ./venv/bin/activate
python src/manage.py makemigrations
python src/manage.py migrate
python src/manage.py runserver
These tutorials can be helpful: