Skip to content
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.

Latest commit

 

History

History
105 lines (60 loc) · 2.57 KB

readme.md

File metadata and controls

105 lines (60 loc) · 2.57 KB

Nobetle

Nobetle, is a shift scheduling web app for hospital departments.

History Logs

Sample Schedule Screen

Properties of Nobetle

Usage Properties

  • User Interface Language: Turkish

Technical Properties of Nobetle

  • Written for Python 3
  • MVC (Model-View-Controller)
  • Data retrieved from and saved to MySQL Database

Required Following Works

  • Schedule script's static codes should be coded dynamically.

History Logs Sample Statistics Screen

Implementation

Nobetle require two working service:

  1. Main script nobetle.py as service
  2. MySQL Database Service

Steps

  1. Get Source Code
  2. Install Python 3
  3. Install Requirements
  4. Install MySQL Database
  5. Create Tables
  6. Configure Services

1. Get Source Code

You can get Nobetle code by two options;

  1. Download the Code
  2. Clone the Repo
    • git clone https://github.com/imesut/nobetle.git
    • cd nobetle

2. Install Python 3

If Python 3 didn't installed into your system, download Python 3 from official Python Download page

3. Install Requirements

To install requirements;

pip3 install -r requirements.txt

4. Install MySQL Database

1. On Linux Systems

  1. Run these commands to install MySQL
  • sudo apt-get update
  • sudo apt-get install mysql-server
  1. To determine a root password for MySQL; sudo mysql_secure_installation

  2. Initialize MySQL: sudo mysql_install_db

  3. Ensure MySQL service is running: mysql.server start

  4. Connecting to MySQL: mysql -h localhost -u root -p

  5. Then enter your MySQL root password.

2. On MacOS Systems

  1. Instal MySQL via .pkg installer

  2. Ensure MySQL service is running: mysql.server start

  3. Connecting to MySQL: mysql -h localhost -u root -p

  4. Then enter your MySQL root password.

5. Create Tables

Table creation can be directly done by executing create_tables.sql file.

To execute the file at MySQL shell;

source create_tables.sql

First user of Nobetle is owner user. And its database equivalent can be added to database by insert into method or basicly executing first_user.sql file.

To execute the file at MySQL shell;

source first_user.sql

6. Configure Services