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 docker as a platform option #3

Merged
merged 31 commits into from
Mar 12, 2016
Merged

Add docker as a platform option #3

merged 31 commits into from
Mar 12, 2016

Conversation

alexcu
Copy link
Contributor

@alexcu alexcu commented Mar 12, 2016

Problem

Up until now, Doubtfire has been hard to set up especially for novice users. There should be an easy way to get Doubtfire up and running without too much hassle, even for demonstration purposes.

What's Changed?

This pull request adds Docker config to the api so that it is possible to run it via Docker.

To do so, use the extensive ./docker.sh script.

alexcu added 30 commits March 7, 2016 00:30
Expects that doubtfire-web is cloned to the directory above doubtfire-api
Not everyone will be generating PDFs on the API. If you do you will
need LaTeX. A note for this was added to the README and the Dockerfile
was updated to remove this.
CI reporter isn't being used and the docker container was failing
at this step when trying to run rake tasks
During build there is no access to the doubtfire-db. We will need
to execute this once the image is built.

See http://stackoverflow.com/a/31542717/519967
This commit allows Doubtfire API to be run under ruby 2.1.2 for
development
The start script will try to restore first, then create if the
docker-compose service does not exist
The new docker.sh script is essentially the gateway to use Doubtfire
and execute commands.

Improved error handling and usability of the command means that people
without Docker experience can still use Doubtfire via Docker
alexcu added a commit that referenced this pull request Mar 12, 2016
@alexcu alexcu merged commit 83dbc8a into develop Mar 12, 2016
@alexcu alexcu deleted the config/add-docker branch March 12, 2016 04:05
@alexcu
Copy link
Contributor Author

alexcu commented Mar 12, 2016

As docker is now used, the config/add-vagrant branch is (in addition to stale) redundant and should be deleted.

macite referenced this pull request in macite/doubtfire-api Jan 4, 2019
…ng-period

CONFIG: Move tasks test file to correct case
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.

1 participant