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: 2 months 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 (over 5 years ago)
- Default Branch: senpai
- Last Pushed: 2021-06-12T17:06:59.000Z (about 5 years ago)
- Last Synced: 2025-06-07T06:41:14.581Z (about 1 year 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
[](https://www.codefactor.io/repository/github/sclafus/flaskylearn)
# FlaskyLearn
FlaskyLearn 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