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

Fix GitHub issues #3 and #4 for branch master. #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jackqq
Copy link

@jackqq jackqq commented Feb 19, 2017

@randykerber
Copy link
Member

Hi Jack,

Ah, so those long weird-looking variables like $MYSQL_PORT_3306_TCP_PORT are called "link variables". I never was quite able to figure those out. Now I know why.

As a result, I ended up removing those when fixing up ops-docker enough to get it to work with OPS version 2.1. See the branch named "2.1". I haven't pushed that to master yet, since I hadn't re-run ops-docker from start-to-finish.

Are you trying to bring up your own local version of openphacts by using ops-docker?

-- Randy

@jackqq
Copy link
Author

jackqq commented Feb 22, 2017

Yes, we have been trying to do so recently. After solving this issue on the master branch, we indeed found that there is a 2.1 branch. Now we are shifting to that branch. Unfortunately, the "compose up" progress proceeded with some problems, too. We are working on them.

@randykerber
Copy link
Member

Hi Jack,

Sorry, didn't notice you had a new comment. I should probably just merge the 2.1 branch into master, so people see the latest, even though would have preferred to tidy it up some first.

To bring up a complete openphacts w/ ops-docker, a simple 'docker-compose up' won't work initially. The data won't be populated in virtuoso and ims. Need to run the 'virtuosostagingrdf' service to populate virtuoso and run the 'mysqlstaging' service to populate the mysql database that 'ims' service uses.

So first try:

docker-compose up -d mysqlstaging

Then when that finishes/stops, do:

docker-compose up -d virtuosostagingrdf

The virtuosostagingrdf step might take a long, long time to run. Once they've both completed, there's no reason to ever again run 'mysqlstaging' or 'virtuosostagingrdf'.

When those two steps are done, then to bring up an openphacts that's ready to use, run:

docker-compose up -d api

The 'explorer' service is currently broken.

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.

2 participants