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
Steps for installation of OutcomeBasedCourse:
-
Clone the repository OutcomeBasedCourse.
git clone https://github.com/GreatDevelopers/OutcomeBasedCourse
-
Activate virtual environment to avoid downloading all the pip packages:
cd OutcomeBasedCourse
source venv/bin/activate
-
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.