- Requirements:
- Postgres==9.6
- Create conda Environment
conda create -n ARecSys python=3.6
- Install Requirements
pip install -r requirements.txt
- Create
ARecSys/local_settings.py
based onARecSys/local_settings.py.sample
- Setup Postgres [Database](#Setting-up Database)
./manage.py makemigrations && ./manage.py migrate
./manage.py runserver
- Navigate to
http:https://localhost:8000
- Start postgres
sudo -su postgres
- Start PSQL
psql
CREATE USER anime WITH PASSWORD 'anime@2020';
CREATE DATABASE animeinfo;
GRANT ALL PRIVILEGES ON DATABASE animeinfo TO anime;
./manage.py createsuperuser
./manage.py runserver
- Navigate to
http:https://localhost:8000/admin
mkdir apps/name_of_app
./manage.py startapp name_of_app apps/name_of_app
- Register the app in ARecSys/settings.py file under
INSTALLED_APPS