Skip to content
OpenRepairPlatform is a web application based on Django designed to organizing collaborative electronics repair structures - Still in development
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
api Merge branch 'master' of… Jan 31, 2019
deployment make SMTP mailer as environnements variables Jan 31, 2019
media added default avatar Jul 11, 2018
node_modules Prevent commit of npm build files Nov 27, 2017
plateformeweb display all place on event form Jan 31, 2019
static make add_user as a separated template and stylish it Jan 31, 2019
.gitignore Update Aug 7, 2018 Fixed User model, moved templates Nov 25, 2017 add users fixture and loaddata Jan 31, 2019 Fix celery throwing various errors Jun 5, 2018
fixture.json prod setting as default settings Jul 18, 2018


OpenRepairPlatform is a Django based application designed to organize collaborative repair structures, features provides organization managment, event publishing, community members managment, repair tracking and sharing.

The plateform is created by Atelier Soudé, an organization which repair everyday's people electric and electronic objects in Lyon, France.

Move to the deployment directory

cd [git checkout directory]/deployment

Update bootstrap data (optional)

Only if a change is needed in the initial content. It is possible to dump the data that was manually created and make it a fixture. This involves opening a shell in the running container (docker exec -ti deployment_django_1 bash), cd'ing to the /ateliersoude directory and running ./ Look at the quotation/fixtures/quotation/README.txt file for more.

Running the application

After cd'ing to the main directory (and having docker-compose installed), do this only once

./ create_env

(later: fill in the environment variables like passwords in here) Then to run the application:

./ dev


Having the logs displayed to STDOUT is done with docker logs -f ateliersoude-django except for the dev server where they're displayed by default (container isn't detached)

Get into the containers

  • Application: docker exec -ti deployment_django_1 bash
  • Database: docker exec -ti deployement_ateliersoude-postgres_1 bash

Fixture data

You can find some already implemented users fixtures such as :

login: passwd: foobar

Unit Tests

To run unit tests:

docker-compose -f deployment/docker-compose.yml run --rm django python ateliersoude/ test plateformeweb.tests --settings=ateliersoude.settings.test


Need a debugger ? in your view file :

from ipdb import set_trace


to make it interactive run thet test with external ports, add --service-ports to the test command.

docker-compose -f deployment/docker-compose.yml run --service-ports --rm django python ateliersoude/ test plateformeweb.tests --settings=ateliersoude.settings.test

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.