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

Bring back Docker Hub images #276

Merged
merged 1 commit into from
Oct 20, 2017

Conversation

cuducos
Copy link
Collaborator

@cuducos cuducos commented Oct 19, 2017

As suggested in #240, 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

Hey @cuducos, let's make Docker great again!

What I did to test 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-bring-back-docker-hub-images origin/cuducos-bring-back-docker-hub-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
  1. Seeding it with sample data:
$ docker-compose run --rm django python manage.py reimbursements /mnt/data/reimbursements_sample.x
$ 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. Access localhost:8000, and localhost:8000/dashboard to check some features, and then it good to merge.

Alright, checked, works fine! 🎉

@anaschwendler anaschwendler merged commit 35230df into master Oct 20, 2017
@anaschwendler anaschwendler deleted the cuducos-bring-back-docker-hub-images branch October 20, 2017 01:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants