/NimblentFlask

Nimblent but in flask

Primary LanguagePython

Nimblent

NSI web project with Python and the Flask and SQLObject modules

Python https://www.python.org/

Flask documentation https://flask.palletsprojects.com/

SQLObject documentation https://www.sqlobject.org/

Setup

Downloading

You can download the project from here or by cloning the repository with the following command:

git clone https://github.com/Nimblent/NimblentFlask.git

Start the project

  1. Open a command prompt in the project directory (downloaded and extracted before)
  2. Write py main.py in the terminal

All necessary modules will be automatically installed at first startup through the requirements.txt file

Access the website and create a school

You can access the website through 127.0.0.1:8000
You'll first need to create a school by providing a name, a french RNE number and a password.

Startup image

How to use

Login

The login page is accessible directly from the home/index page /
You can login with the school's RNE number as username and the password you provided when creating the school or with any other account you created. login page

If the user you logged in with is a teacher, or an admin you'll access the admin dashboard.

Add users - Admin dashboard

Add user

Click on the "Add user" button to add a new user.

Add user form

On the form, you can choose the user's role, the user's name, the user's login name, and the user's password. User's login name and password will be used to login to the website.

Add course - Admin dashboard

As admin only (RNE login) you can add a course to the school for specific students.

Add course

Add course form

You can choose multiple teachers and multiple students for the course by clicking on the user while holding the ctrl key.

Retrieve courses - Admin dashboard

There is no direct way to retrieve courses from the admin dashboard, but you can download the current user's courses in a .ics file by clicking on the "Télécharger l'emplois du temps" button (logged in as a teacher or a student with accounts created before).

You can then import the .ics file in your calendar application or use this website to preview the schedule

Credits