Git Product home page Git Product logo

dbase's Introduction

drawing

DBASE

Build Status Codacy branch grade Code Climate maintainability Test Coverage Updates Snyk Vulnerabilities for GitHub Repo time tracker Code style: black GitHub License

Manager for material booking.

Docker management

  1. Build the services using docker-compose up --build
  2. After every update run migrations docker-compose run web python manage.py migrate
  3. Add a super user using docker-compose run web python manage.py createsuperuser

Installation

  1. Install required packages:
    $ sudo apt-get update
    $ sudo apt-get install software-properties-common python3.6 python3.6-venv python3.6-dev python3-pip apache2 libapache2-mod-wsgi-py3 libmysqlclient-dev
    $ sudo apt-get install libjpeg62 libjpeg62-dev zlib1g-dev memcached
  2. Copy the source code to the deployment server. Or clone with git clone https://github.com/gafderks/dbase.git
  3. From within the project directory create a virtual environment and install the project dependencies:
    $ pip install pipenv
    $ pipenv install
  4. Copy the file .env.example to .env and fill in the settings.
  5. Activate the virtual environment with pipenv shell.
  6. Collect static files using (dbase) $ python manage.py collectstatic
  7. Compile the translation files using (dbase) $ python manage.py compilemessages
  8. Load the database configuration with (dbase) $ python manage.py migrate
  9. Create a superuser account using (dbase) $ python manage.py createsuperuser
  10. Import materials, categories, filters, roles and groups using (dbase) $ python manage.py creategroups && python manage.py importfilters && python manage.py importmaterial
  11. Set up the apache web server by copying the file deploy/apache.conf to /etc/apache2/sites-available/example.com.conf and completing the variables at the top. Preferably setup SSL with e.g. LetsEncrypt.

Roadmap

Must have
  • Make games orderable
  • Export to Excel
  • Button material is not listed, put in comments. Material field nullable.
    • MB can convert unlisted material into material
Should have
Could have
  • Suggested material bookings. If you book 'Rambler' it suggests electricity cords.
  • Enable simultaneous editing of bookings and games
  • Info button next to bookings for opening material info modal.
    • For MB: include shortcut for altering material (e.g. category, GM)
  • Contributors file
  • Camera app for quickly adding photos of materials
  • Import games from other events
  • Admin functionality for converting a Material into a MaterialAlias
Won't have

dbase's People

Contributors

dependabot[bot] avatar gafderks avatar pyup-bot avatar snyk-bot avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

mehmetpek

dbase's Issues

Cannot delete material that has material alias

Internal Server Error: /admin/booking/material/285/delete/

IntegrityError at /admin/booking/material/285/delete/
(1451, 'Cannot delete or update a parent row: a foreign key constraint fails (zomerspelen_dbase_django.booking_materialalias, CONSTRAINT booking_materialalia_material_id_e49a3ead_fk_booking_m FOREIGN KEY (material_id) REFERENCES booking_material (id))')

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.