Skip to content

GreatDevelopers/OutcomeBasedCourse

Repository files navigation

Outcome Based Course Design

Design and develop your own outcome-based courses

Code style: black

Requirements

  1. Apache2
  2. mysql-server
  3. python3.7
  4. python3-pip
  5. python-mysqldb
  6. django 3.0
  7. libldap2-dev
  8. libmysqlclient-dev
  9. python3.7-dev

Installation

Use the following command to install and setup OutcomeBasedCourse.

git clone https://github.com/GreatDevelopers/OutcomeBasedCourse
cd OutcomeBasedCourse
chmod +x setup.sh
./setup.sh

OR

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:

  1. Clone the repository OutcomeBasedCourse.

     git clone https://github.com/GreatDevelopers/OutcomeBasedCourse
    
  2. Create a database for OutcomeBasedCourse.

      mysql -u root -p -e "create database outcomebasedcourse;"
    
  3. 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",
              } 
      } 
    
  4. 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
    
  5. Open "http://127.0.0.1:8090" in your browser.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published