Skip to content

Latest commit

 

History

History
104 lines (82 loc) · 3.52 KB

README.md

File metadata and controls

104 lines (82 loc) · 3.52 KB

Project logo

OpenLearn

Status GitHub Issues GitHub Pull Requests License


Open source platform for collaborative learning

Table of Contents

About

The idea for this project came from the realisation that there is no decent learning platforms that respect the users privacy. This is an attempt to provide an alternative service which can be used at no cost.

Currently, this project is in the concept stage. Some work has been started but I do not expect that I will be able to put much time towards this project in the near future.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

Installing

Clone this repo

git clone https://github.com/j-chad/OpenLearn
cd OpenLearn/

Install dependencies with poetry

poetry install
poetry shell

Configuration

Before we can run the application, we need to create configuration files. Nothing in the instance folder should be committed to git

mkdir instance
touch instance/config.cfg
touch instance/testing.cfg

Modify these file to set configuration options. Production and Development environments will use config.cfg while Testing environments use testing.cfg.

Files should have the format: KEY="VALUE" with each pair being on it's own line.

Key Value Required
SQLALCHEMY_DATABASE_URI URI of your database Yes
SECRET_KEY secret value. Generate with CSRNG

For the majority of the time you will want to be running in a development environment

export FLASK_ENV=development

Running

Begin by building the database (you only need to do this once)

flask rebuild-database

And run!

flask run

Running the Tests

simply run nosetests in the project directory

Built Using

Screenshots

Sign-in screen

Join room screen