Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sclafus/flaskylearn
A simple web app in Flask for hosting your courses!
https://github.com/sclafus/flaskylearn
css3 docker docker-compose dockerfile educational-project flask flask-application html5 learning python3 self-hosted
Last synced: about 1 month ago
JSON representation
A simple web app in Flask for hosting your courses!
- Host: GitHub
- URL: https://github.com/sclafus/flaskylearn
- Owner: Sclafus
- Created: 2021-03-09T23:34:58.000Z (almost 4 years ago)
- Default Branch: senpai
- Last Pushed: 2021-06-12T17:06:59.000Z (over 3 years ago)
- Last Synced: 2024-04-16T14:45:19.070Z (8 months ago)
- Topics: css3, docker, docker-compose, dockerfile, educational-project, flask, flask-application, html5, learning, python3, self-hosted
- Language: Python
- Homepage:
- Size: 265 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[![CodeFactor](https://www.codefactor.io/repository/github/sclafus/flaskylearn/badge?s=28707972a0d84d5d62a586329595199834fb0240)](https://www.codefactor.io/repository/github/sclafus/flaskylearn)
# FlaskyLearnFlaskyLearn is a web application built with Python 3 and Flask.
The main purpose of this application is offering a free, easy to use and simple to deploy
web app for all the non technical people around the world.### .env file format
```.env
SECRET_KEY="development"# Database stuff
DB_USER="root"
DB_PASSWORD="admin"
DB_HOST="localhost"
DB_PORT=3306
DB_SCHEMA="flaskylearn"#File stuff
UPLOAD_FOLDER="./static/videos"
VIDEO_FORMATS = "webm, mkv, flv, avi, mov, wmv, mp4, m4v, 3gp"
```# Installation
Dependencies:
- MariaDB
- Python (3.9 is recommended)## Deployment with Docker
TODO## Standard Deployment
1. Install MariaDB and Python using your package manager.- For Debian/Ubuntu based distros using `apt`
`sudo apt install -y mariadb-server python` //FIX
- For Arch based distros using `pacman`
`sudo pacman -S mariadb python`
- For REHL/CentOS/Oracle Linux using `yum`
`sudo yum install -y mariadb python` //FIX
2. Clone the repository
`git clone https://github.com/Sclafus/FlaskyLearn.git`
3. Create a new user for your database using a strong password
4. Create the database using the createDB.sql file
5. Enable `mariadb.service` on startup with `systemd`
6. Add a new Contributor using `addNewContributor.py`
7. Start the Flask app and make sure everything is working
8. Enable on startup