Skip to content

System Documentation

Bryce Hofstrom edited this page Apr 22, 2024 · 14 revisions

The system documentation page contains a plethora of information regarding various elements of the application system from database structure and data migration to the project directory structure and user interfaces. Please refer to the corresponding section below when questions appear relating to the application system.

Privileges, User Levels, and Access Levels

Title Privilege Level Role Abilities
Customer Lowest The default account privilege level. Search tools, loan management and membership management.
Volunteer Low The lowest-privilege staff account. Previous levels + loan processing (check out/check in), user creation.
Employee Medium The standard staff account. Previous levels + tool management + user editing.
Manager High A high-privilege staff account. Previous levels + user deletion + report management.
Administrator Highest An account with total access and control over the application. Previous levels + account privilege upgrading and everything else.

Note

All customer accounts currently have their passwords set to password

Database Schema Information

Please refer to the Database Schema Information page for more information regarding database design.

Application User Interfaces

Please refer to the Application User Interfaces page for more information regarding all web pages and their designs.

Application Directory Structure

Please refer to the Directory Information page for more information our application directories.

Data Migration

The following data migration information describes how to run our data migration script.

  1. Open up terminal window and install SquareUp
    There are 2 methods
  1. pip install squareup

OR

  1. git clone https://github.com/square/square-python-sdk.git
  2. cd square-python-sdk
  3. python3 -m pip install .
  1. Set SQUARE_ACCESS_TOKEN

WINDOWS

  • set SQUARE_ACCESS_TOKEN="EAAAl2jsMOMh4IG_KPRzliYZ4o8k8UVICkdDL8CY6Y0A1ECAua0p4NdUd51Z1LhZ"

MAC

  • export SQUARE_ACCESS_TOKEN="EAAAl2jsMOMh4IG_KPRzliYZ4o8k8UVICkdDL8CY6Y0A1ECAua0p4NdUd51Z1LhZ"
  1. Change the terminal directory to the toolshed-app folder
  2. Run this command: python3 ./Database/datamigration.py
Clone this wiki locally