The Django system is being packed in a docker image defined by the Dockerfile
present in the root directory of this repository.
The best way of running the system, along with the postgres database needed, is by running the docker-compose.yml
file, also available in the root directory of the repository.
docker-compose up [-d]
If you need to run any oher commands on a docker container, you can do:
docker-compose run <SERVICE_NAME> <COMMAND>
For example, if you want to run some tests on the django service, do:
docker-compose run django python manage.py test
Or, if you are getting an error when starting the server, the commando might not execute that way. Try:
docker-compose up -d
docker-compose exec <SERVICE> <COMMAND>
Username | Password |
---|---|
[email protected] | letmein |
[email protected] | qwerty |
[email protected] | ola |
Username | Password |
---|---|
[email protected] | olaola |
[email protected] | olaolaola |
[email protected] | 12345ola |
[email protected] | qwerty98765 |
[email protected] | 12345olaola |
[email protected] | pedrosorules |
[email protected] | qwertyola |
[email protected] | 12345ola |
[email protected] | pedropedro |
[email protected] | 12345ola |
[email protected] | 12345ola |
[email protected] | 12345ola |
[email protected] | 12345ola |
[email protected] | 12345ola |
[email protected] | 12345ola |
[email protected] | 12345ola |
[email protected] | 12345ola |
[email protected] | 12345ola |
[email protected] | 12345ola |
[email protected] | 12345ola |
Username | Password |
---|---|
[email protected] | qwerty12345 |
[email protected] | asdfgh |
[email protected] | 987654 |
- The barcode functionality was built using the REST API of: https://world.openfoodfacts.org/data
- The implementation of barcode functionality was done with the help of the repo available at: https://github.com/openfoodfacts/openfoodfacts-python