This repository has been created to explore the Django framework, and at the same time sharing the work done with other community members.
Although this document is referring Linux only, it is also possible to run this on windows by searching equivalent dependencies. I have found it a bit difficult to work on Windows due to lack of support when you hit issues with dependencies, e.g., xmlsec1.exe and associated DLLs.
Github Path : https://github.com/amit17051980/django-fundamentals/blob/development/LMS/LMS/Setup-Ubuntu-Pkg.sh
Download Link : https://www.mediafire.com/file/63ixawa1panjfny/liclipse_5.2.4_linux.gtk.x86_64.tar.gz
Instructions : http://www.liclipse.com/download.html#linux
Use Instructions : https://docs.python.org/3/library/venv.html
mkdir Python_Virtual_Envs
cd Python_Virtual_Envs/
mkdir django-fundamentals
cd django-fundamentals/
python3 -m venv .
Use Instructions: https://www.pydev.org/manual_101_interpreter.html
-
Activate the Virtual Environment (CMD) or use Windows Preferences Interpreters Python (manage with pip)
-
Run command below:
pip install -r https://github.com/amit17051980/django-fundamentals/blob/development/LMS/LMS/requirements.txt
postgres=# CREATE DATABASE lms_db;
postgres=# CREATE USER lmsadmin with password 'password';
postgres=# ALTER ROLE lmsadmin SET client_encoding TO 'utf8';
postgres=# ALTER ROLE lmsadmin SET default_transaction_isolation TO 'read committed';
postgres=# ALTER ROLE lmsadmin SET timezone TO 'UTC';
postgres=# GRANT ALL PRIVILEGES ON DATABASE lms_db to lmsadmin;