Skip to content

uclouvain/osis-docker

Repository files navigation

Osis docker

All you need to get started with osis and osis portal using docker.

Prerequisites

You need to install docker on your computer. Follow the docker documentation and look for the installer for your platform.

Getting started

  1. Clone this repository
# git clone [email protected]:uclouvain/osis-docker.git
  1. Initialize submodules
# git submodule update --init --remote --recursive
# cp osis/.env.docker osis/.env
# cp osis-portal/.env.docker osis-portal/.env
  1. Build containers
# docker-compose build
  1. start the database container and execute migrations
# docker-compose run osis python manage.py migrate
# docker-compose run osis-portal python manage.py migrate
  1. Start all containers
# docker-compose up -d
  1. Check that all is working

Open a browser and go to http://localhost:8000 and you should see Osis running.

Pycharm integration

In PyCharm Enterprise Edition, you can use the docker-compose as project interpreter.

Follow this tutorial in JetBrains.

Appendix

You can create a superuser by using the following command:

# docker-compose run osis python manage.py createsuperuser

You can also load demo data in osis by using:

# docker-compose run osis python manage.py loaddata demo_data.json

About

Docker compose to get started with osis and osis portal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages