Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add script to import site images #493

Merged
merged 1 commit into from
Oct 24, 2017
Merged

Conversation

ramereth
Copy link
Member

This also resolves #486.

I renamed the the image import script to be a little more generic since we'll likely be using it for other data imports later for the Gallery.

Changes in this PR.

  • Import Site Images

Testing this PR.

  1. docker-compose build -- You need to update your docker instance to pull in wget!
  2. docker-compose kill && docker-compose rm --all -- remove all old instances
  3. docker-compose up -d postgres_host && sleep 10 && docker-compose up -d web
  4. docker-compose run web bash
  5. cd data_scripts
  6. ./get_all.sh -- This might take a bit since it pulls in the images from the site.

Expected Output.

Goto http://localhost:8000/sites/camp-creek/ and you should see the site image on the left.

$ make test
[... test output ...]

@osuosl/devs

Copy link
Contributor

@jerry-peng jerry-peng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything works, new images present site detail ++

@ramereth ramereth merged commit 5846205 into develop Oct 24, 2017
@ramereth ramereth deleted the ramereth/import-site-images branch October 24, 2017 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make sure all data has been migrated to the new site
2 participants