PatrickGTR / PyUCP

A User Control Panel for Project Open written in python.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Information

This website is build using Bootstrap framework, Python and MySQL.

Installation

Importrant!

Make sure you create environment variables for secret_key and MySQL credentials for the login and content management system to work properly.

How to install environment variables

Windows

Take me there!

Linux

Creating Environment Variable

VARIABLE_NAME = variable_value

Check if Environment Variable has been created

echo $VARIABLE_NAME

Deleting environment variable

unset VARIABLE_NAME

Required Environment Variables

SECRET_KEY      = os.environ.get('SECRET_KEY')
MYSQL_USERNAME  = os.environ.get('MYSQL_USERNAME')
MYSQL_PASSWORD  = os.environ.get('MYSQL_PASSWORD', '')
MYSQL_DATABASE  = os.environ.get('MYSQL_DATABASE')
MYSQL_HOST      = os.environ.get('MYSQL_HOST')
Python Version

3.7.3

Install dependencies in one line!
pip install -r requirements.txt

Live Demo

Login: demo Password: demo

About

A User Control Panel for Project Open written in python.


Languages

Language:JavaScript 93.1%Language:HTML 3.6%Language:Python 3.2%Language:CSS 0.1%