Skip to content
The Student Personnel Booking Manager, by and for the Student Cellar Pub Personnel Organsiation at the University of Oslo.
Python HTML CSS Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
locale
scripts
spbm
static
static_invoice
templates
.gitignore
README.md
manage.py
requirements.txt
setup.cfg
wercker.yml

README.md

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.

You can’t perform that action at this time.