git clone https://github.com/RezenkovD/vr-club.git
Install the dependencies to run the project
pip3 install -r requirements.txt
sudo -u postgres psql
CREATE DATABASE '<database-name>';
ALTER USER '<database-user>' WITH PASSWORD '<database-password>';
GRANT ALL PRIVILEGES ON DATABASE '<database-name>' TO '<database-user>';
Get your secret key. And make changes to the settings
https://djecrety.ir/
Get your <client-id>
and <client-secret>
https://support.google.com/cloud/answer/6158849
Get your <host-password>
https://support.google.com/mail/answer/185833
Configure the .env file that contains the variables to run the app and use Google Oauth2 and email to send emails
Move the contents from example.env to .env and specify your values
Run the command in the directory with file manage.py
Makemigrations writes model changes to separate migration files, similar to commits. Create makemigrations
python manage.py makemigrations
Run the command in the directory with file manage.py
python manage.py migrate
Run the command in the directory with file manage.py. Follow the instructions
python manage.py createsuperuser
Run the command in the directory with file manage.py
python manage.py runserver