Skip to content

e-nvy/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 

Steps for installation of OutcomeBasedCourse:

  1. Clone the repository OutcomeBasedCourse.

     git clone https://github.com/GreatDevelopers/OutcomeBasedCourse
    
  2. Activate virtual environment to avoid downloading all the pip packages:

    cd OutcomeBasedCourse source venv/bin/activate

  3. Create a database for OutcomeBasedCourse.

      mysql -u root -p -e "create database outcomebasedcourse;"
    
  4. 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",
              } 
      } 
    
  5. 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
    
  6. 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

Languages

  • Python 74.1%
  • JavaScript 9.2%
  • HTML 8.5%
  • Roff 3.1%
  • CSS 3.0%
  • Shell 2.1%