Design and develop your own outcome-based courses
- Apache2
- mysql-server
- python3.7
- python3-pip
- python-mysqldb
- django 3.0
- libldap2-dev
- libmysqlclient-dev
- python3.7-dev
Use the following command to install and setup OutcomeBasedCourse.
git clone https://github.com/GreatDevelopers/OutcomeBasedCourse
cd OutcomeBasedCourse
chmod +x setup.sh
./setup.sh
Installation of Requirements
sudo apt install apache2 mysql-server python3 python3-pip python3-mysqldb libldap2-dev libmysqlclient-dev python3.7-dev
sudo python3 -m pip install -r requirements.txt
Steps for installation of OutcomeBasedCourse:
-
Clone the repository OutcomeBasedCourse.
git clone https://github.com/GreatDevelopers/OutcomeBasedCourse
-
Create a database for OutcomeBasedCourse.
mysql -u root -p -e "create database outcomebasedcourse;"
-
Edit settings.py file in OutcomeBasedCourse/ directory. Things to be edited are:
DATABASES = { "default": { "ENGINE": "django.db.backends.mysql", "NAME": "Your database name" "HOST": "Your MySQl server host", "PORT": "Your MySQl server port", "USER": "Your MySQL username", "PASSWORD": "Your MySQl password", } }
-
Goto the project directory and run the following commands:
python3 manage.py makemigrations python3 manage.py migrate python3 manage.py runserver 127.0.0.1:8090
-
Open "http://127.0.0.1:8090" in your browser.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.