Skip to content
This repository has been archived by the owner on Feb 28, 2018. It is now read-only.

Bring back Docker images from Docker Hub #273

Merged
merged 1 commit into from
Oct 17, 2017

Conversation

cuducos
Copy link
Collaborator

@cuducos cuducos commented Oct 17, 2017

As suggested in #245, after that PR was merged we'll need to get back to the images from Docker Hub. This is what this PR does ; )

@anaschwendler
Copy link
Collaborator

Testing this PR!

  1. Clone the repository:
$ git clone [email protected]:datasciencebr/jarbas.git
  1. Open the repo folder:
$ cd jarbas
  1. Checkout to @cuducos branch:
$ git checkout -b cuducos-docker-images origin/cuducos-docker-images
  1. Update the branch:
$ git merge master
  1. Copy the .env file:
$ cp contrib/.env.sample env
  1. Build and start services:
$ docker-compose up -d
  1. Create the database and apply the migrations:
$ docker-compose run --rm django python manage.py migrate
$ docker-compose run --rm django python manage.py searchvector
  1. 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
  1. Open http://localhost:8000/ and http://localhost:8000/dashboard and do tests with functionalities, works! :)

@anaschwendler anaschwendler merged commit a4c8854 into master Oct 17, 2017
@anaschwendler anaschwendler deleted the cuducos-docker-images branch October 17, 2017 20:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants