Simple laboratory organizer with multiples features:
- Laboratory builder and elegant presentation
- Multi-laboratory management
- Reservation system
- Solution Calculator
- Procedures management
- Object limit notifications
- Internationalization
Documentation will be available in read the docs
Clone this repository
$ git clone [email protected]:solvo/organilab.git
$ cd organilab
Create a virtualenv
$ mkdir -p ~/entornos/
$ python -m venv ~/entornos/organilab
$ source ~/entornos/organilab/bin/activate
Install requirements
$ pip install -r requirements.txt
Check your database configuration and sync your models
$ python manage.py migrate
$ python manage.py createcachetable
$ python manage.py load_urlname_permissions
$ python manage.py loadgroup
$ python manage.py load_sga
$ python manage.py loaddata sga_components.json
Could be required to call python manage.py initial_data
Create a superuser for admin views
$ python manage.py createsuperuser
Run your development server
$ python manage.py runserver
Create translations
$ django-admin makemessages --all
Create javascript translations
$ django-admin makemessages -d djangojs -l es --ignore *.min.js
Compile translations
$ django-admin compilemessages --locale es
Create your image organilab
docker build -f docker/Dockerfile -t solvosoft/organilab
Run with bind mount folder to sync with changes without rebuild image:
docker run -it --name organilab -p 80:80 -p 8000:8000 \
-v `pwd`/src/:/organilab --env DBHOST=YOUR_PG_HOST \
solvosoft/organilab
Enter to the container:
docker run -it organilab python manage.py runserver 0.0.0.0:8000
And finally each change you make in your local files will restart the environment in order to apply them.