GithubHelp home page GithubHelp logo

frederickngoiya / academicstoday-django Goto Github PK

View Code? Open in Web Editor NEW

This project forked from academicstoday/academicstoday-django

0.0 1.0 0.0 11.56 MB

A open-source platform for online course-based learning and education.

Home Page: http://academicstoday.io

License: Apache License 2.0

Python 38.05% HTML 32.15% CSS 2.42% JavaScript 27.14% Shell 0.24%

academicstoday-django's Introduction

alt tag

py-academicstoday

Description

A open-source platform for online course-based learning and education.

Support

You can financially support the project by either:

  • Bitcoin donations: 1NdWWNyHJJd5oFhtzAFtApNaHjSuAbGmXZ
  • Dash donations: XcNwdbXmEdnm4ErQuK8A9UkcTwTkUGf7ML

Features

  • Students log in and enroll in the provided courses
  • Watch educational online videos lectures for courses
  • Fill out quizzes tests and assignments to get graded on
  • Earn certificates of completion of courses

System Requirements

  • Python 3.4.x+
  • Postgres SQL DB 9.4+
  • pip 6.1.1+
  • virtualenv 12.1.1+

Dependencies

See requirements.txt for more information.

Build Instructions

Application

For Linux and OSX users, run these commands:

  1. First clone the project locally and then go into the directory
$ git clone https://github.com/AcademicsToday/py-academicstoday.git 
$ cd py-academicstoday
  1. Setup our virtual environment
(OSX)
$ python3 -m venv env

(Linux)
$ virtualenv env
  1. Now lets activate virtual environment
$ source env/bin/activate
  1. OSX USERS ONLY: If you are using ‘Postgres.app’, you’ll need to have pg_config setup in your $PATH. If you already have set this up, skip this step, else simply run this command in the console to set the path manually.
$ export PATH="/Applications/Postgres.app/Contents/Versions/9.4/bin:$PATH"
  1. Now lets install the libraries this project depends on.
$ pip install -r requirements.txt

Database

We are almost done! Just follow these instructions and the database will be setup for the application to use.

  1. Load up your postgres and enter the console. Then to create our database, enter:
# create database academicstoday_db;
  1. To confirm it was created, run this line, you should see the database in the output
# \l
  1. Enter the database
# \c academicstoday_db
  1. If you haven’t created an administrator for your previous projects, create one now by entering:
# CREATE USER django WITH PASSWORD '123password';
# GRANT ALL PRIVILEGES ON DATABASE academicstoday_db to django;
  1. Your database "academicstoday_db" is now setup with an admin user account "django" using the passowrd "123password”.

Application + Database

Run the following command to create your custom settings instance. Note: Please write all your application passwords here as it won't be tracked on git.

$ cd academicstoday_project/academicstoday_project
$ cp secret_settings_example.py secret_settings.py

Run the following commands to populate the database.

$ cd ../academicstoday_project
$ python manage.py makemigrations
$ python manage.py migrate 
$ python manage.py setup_academicstoday

Usage

To run the web-app, you’ll need to run the server instance and access the page from your browser.

Start up the web-server:

$ cd academicstoday_project
$ python manage.py runserver

In your web-browser, load up the following url

http://127.0.0.1:8000/

Congratulations, you are all setup to run the web-app! Have fun coding!

License

This web-app is licensed under the Apache 2.0 license. See LICENSE.md for more information.

Developers

  • Bartlomiej Mika
  • Michael Murray
  • Sebastian Rydzewski

academicstoday-django's People

Contributors

bartmika avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.