Code Monkey home page Code Monkey logo

flaskylearn's Introduction

CodeFactor

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

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

flaskylearn's People

Contributors

sclafus 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.