Closed cuducos closed 7 years ago
Testing this PR!
Clone the repository:
$ git clone git@github.com:datasciencebr/jarbas.git
Open the repo folder:
$ cd jarbas
Checkout to @cuducos branch:
$ git checkout -b cuducos-update-django origin/cuducos-update-django
Update the branch:
$ git merge master
Copy the .env
file:
$ cp contrib/.env.sample env
Build and start services:
$ docker-compose up -d
Create the database and apply the migrations:
$ docker-compose run --rm django python manage.py migrate
Seeding it with sample data:
$ docker-compose run --rm django python manage.py reimbursements /mnt/data/reimbursements_sample.xz
$ docker-compose run --rm django python manage.py companies /mnt/data/companies_sample.xz
$ docker-compose run --rm django python manage.py suspicions /mnt/data/suspicions_sample.xz
$ docker-compose run --rm django python manage.py tweets
http://localhost:8000/
and http://localhost:8000/dashboard
and do tests with functionalities and works fine :)There is some conflicts with the master
branch, @cuducos can you solve it and then I merge it?
Conflicts fixed ; )
Opening this PR in favor of #266 because updating Django REST Framework required minor edits on the source code.
This is a basic update: if after updating the packages tests still pass and navigation still works probably we haven't broken anything.