Skip to content

YaCoder is a social network for the people who are interested in olympiad programming and algorithms

Notifications You must be signed in to change notification settings

xrenvtomate/YaCoder-with-django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Application workflow Django CI workflow

YaCoder install & set up

YaCoder is a social network for the people who are interested in competitive programming and algorithms

Homepage Image

Setup

download python on official site

clone repo:

$ git clone https://github.com/Xenx3128/YandexProject/
$ cd YandexProject

set environment variables

create .env file and declare environment variables in it (just like in .env-exapmle)

Create a virtual environment activate it:

$ python -m venv venv

on linux

source venv/bin/activate

install

pip install -r requirements.txt

then

$ cd project

apply migrations

python manage.py migrate

load data from fixtures

python manage.py loaddata homepage/fixtures/homepage_fixture.json
python manage.py loaddata users/fixtures/users_fixture.json

create superuser

python manage.py createsuperuser

run server

$ python manage.py runserver 8000

now server runs on 127.0.0.1:8000 admin panel you can visit in /admin/

About

YaCoder is a social network for the people who are interested in olympiad programming and algorithms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published