Skip to content

hunteracm/old-localhost-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

localhost-login

An easy to use [offline] attendance form.

Prerequisites

Recommended

It is recommended to use a python virtual environment. You can create the environment at the root with:

virtualenv venv

Then you can activate the environment:

. /venv/bin/activate

Note: You can deactivate the environment with deactivate, but it should be active while you run the app.

Necessary

Whether you’ve chosen to use a virtual environment or not, you have to install the application dependencies. You can use the requirements.txt like so:

pip install -r requirements.txt

You must also have sqlite3 installed (use your package manager).

Usage

The Site

After the dependencies are ready, run the application:

python app.py

Navigate to localhost:5000 and the website should display. Users can sign in now.

The Data