A open-source platform for online course-based learning and education.
A open-source platform for online course-based learning and education.
You can financially support the project by either:
See requirements.txt for more information.
For Linux and OSX users, run these commands:
$ git clone https://github.com/AcademicsToday/py-academicstoday.git
$ cd py-academicstoday
(OSX)
$ python3 -m venv env
(Linux)
$ virtualenv env
$ source env/bin/activate
$ export PATH="/Applications/Postgres.app/Contents/Versions/9.4/bin:$PATH"
$ pip install -r requirements.txt
We are almost done! Just follow these instructions and the database will be setup for the application to use.
# create database academicstoday_db;
# \l
# \c academicstoday_db
# CREATE USER django WITH PASSWORD '123password';
# GRANT ALL PRIVILEGES ON DATABASE academicstoday_db to django;
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
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!
This web-app is licensed under the Apache 2.0 license. See LICENSE.md for more information.