Skip to content

RAvengineer/Zeitplan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zeitplan

A Timetable management web app using Google Calendar API for VITians

Setup

Create an Environment (Optional ⏩ )

conda create --name zeitplan python=3.7

Activate the Environment (Optional ⏩ )

conda activate zeitplan

Here, I have shown Conda as the environment management system. You may use other management system.

Clone the repo

git clone https://github.com/RAvengineer/Zeitplan.git

Install required packages

cd Zeitplan/
pip install -r requirements.txt

Hosting

cd Zeitplan/
ls
> app.py  README.md  requirements.txt  Utilities  Zeitplan

👆 Check you are in correct directory.

Set up the environment variables

For Linux and Mac users,

set FLASK_APP=app.py

For Windows users,

export FLASK_APP=app.py
If you are hosting locally, then an extra environment needs to be set up 👀

For Linux and Mac users,

set ZEITPLAN_LOCALHOST=1

For Windows users,

export ZEITPLAN_LOCALHOST=1

Finally, host it 😅

flask run