Skip to content

arabdigitalexpression/Mestek

Repository files navigation

Space Reservation System


Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License
  6. Contact

About The Project

The story of this project begins in Arab Digital Expression Foundation when we needed to make our friends from non-profit organizations and civil associations life easier with mangaging there own spaces and renting thier tools. We needed to find a online solution for spaces and tools reservations.

We've quickly evaluated a couple of existing solutions, but they were either too big and complicated and/or too expensive. As We assumed that other people would have the same challenge We had, We decided to spend our after-hours time making an open-source tailored platform for the need and it is for free use.

What our platform can do:

  • It allows people to reserve, de-reserve spaces and tools in your organization.
  • It allows people to pay online by virtual wallet for their own reservations.
  • Platform can deployed online or on a dedicated internal server inside your organization.
  • Administrators has a visually statistics for reservations.

Of course, no platform will serve all organizations needs since your needs may be different. So I'll be adding more soon. You may also suggest changes by forking this repo and creating a pull request or opening an issue. Thanks in advance to all the people who will contribute to expanding this platform!

(back to top)

Built With

Flask MariaDB Bootstrap JQuery

(back to top)

Getting Started

The next steps are for running Space Reservation System on a local or remote server.

So please take steps forward in order for doing it in the right way.

Prerequisites

You should:

  • Know how to deal with Linux environment.
  • Programmed with python before and flask.
  • Used database management system before ex: (MySQL)

Installation

  1. Installing Database service

    In this project, we used MySQL in our development process but you can use other database management systems that SQLAlchemy supporting it.

    You can install your database service depending on your operating system. In this process, I used ubuntu Linux OS.

    $ sudo apt update
    $ sudo apt install mysql-server libmysqlclient21
    $ sudo systemctl start mysql.service
    $ mysql_secure_installation

    after installation use, this commands to create a new database for this application

    mysql -u root -p
    mysql> CREATE DATABASE 'database_name' CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
    mysql> CREATE USER 'username'@'host' IDENTIFIED BY 'password';
    mysql> GRANT PRIVILEGE ON 'database_name'.* TO 'username'@'host';
    mysql> FLUSH PRIVILEGES;
  2. Clone the repo

    git clone https://github.com/arabdigitalexpression/Mestek.git
  3. Install dependencies

    $ sudo apt-get install python3 python3-dev python3-pip
    $ sudo pip3 install virtualenv
    $ cd Mestek
    $ virtualenv -p python3 myenv
    $ source venv/bin/activate
    $ pip3 install -r requirements.txt
    $ vi .env
    $ flask db upgrade
    $ flask run

    (back to top)

Usage

After the installation process, you can run the application on your browser and start creating new space and tools.

And when you are finished anyone is ready to reserve and space or tool that they want.

(back to top)

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what makes the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the GNU General Public License v3.0 License. See LICENSE.txt for more information.

(back to top)

Contact

Arab Digital Expression Foundation - Visit website

Project Link: https://github.com/arabdigitalexpression/Mestek

(back to top)