Skip to content
/ spbm Public
forked from SPF-UiO/spbm

The Student Personnel Booking Manager, by and for the Student Cellar Pub Personnel Organsiation at the University of Oslo.

Notifications You must be signed in to change notification settings

maxiix3/spbm

 
 

Repository files navigation

SPFs "SPBM"

build status coverage status

Her er koden for Studentkjellernes personalforening sitt nåværende nettbaserte system for grovhåndtering av diverse utlån og leier av lokaler, studentansatte, fakturering av medlemsforeninger, samt lønnsrapportering for utbetaling av lønn.
This is the code for the Student basement pubs society current web-based system for roughly managing our various bookings and rentals of our collective premises, student employees, invoicing our member societies, as well as wage reporting to facilitate payroll.

For funksjonalitetsønsker, problemer, og spørsmål kan du opprette et issue her på GitHub.
For feature requests, problems, and questions, please create an issue here on GitHub.

Contributing

Any help is much appreciated. Take a look at our issues in the issue tracker, and go crazy.

Hacking away

Getting started with i18n

  1. Make sure to add strings using ugettext and similarly, such as ugettext_lazy in models. For more information, see Django's own documentation on how to mark strings as localiseable.

  2. Once strings have been added, update the locales with the following combo.

    $ ./manage.py extract && ./manage.py merge

    This will extract all the localizable strings into locale/templates, followed by a merge with locale/xx_XX. Both extract and merge are provided by puente.
    ⚠️ Do not use Django's makemessages!

  3. Once you've translated the strings in locale/xx_XX/django.po, you'll want to compile the strings. You'll want to do this every time you're working locally and you want to see the changes.

    $ ./manage.py compilemessages

Deployment

See scripts/run_production.sh for the most important steps that take place upon deployment. This is combined with the awesome power of our werker.yml file, which is our CI of choice as of today.

About

The Student Personnel Booking Manager, by and for the Student Cellar Pub Personnel Organsiation at the University of Oslo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 72.3%
  • HTML 25.8%
  • Other 1.9%