-
Notifications
You must be signed in to change notification settings - Fork 0
Initial Docker Setup
-
If you haven't yet, install docker.
-
Open a new terminal window and clone the ucla2019 github repo and cd to that location:
git clone https://github.com/RepoCamp/wustl2019.git
cd wustl2019
-
From the same terminal window, start the docker development environment
docker-compose up
-
Leave the window open where you started docker, and open a new terminal window where you can check out the
walkthrough
branchgit checkout walkthrough
-
Open a bash shell on the docker instance
docker-compose run web bash
-
Using the bash shell within the docker instance, run the following commands to finish setting up the application for the workshop
(you should now be working from a prompt that looks something likeroot@4dd3796c728e:/ucla2019#
)bundle install
rails db:migrate
rails hyrax:default_collection_types:create
rails hyrax:default_admin_set:create
-
Rails will be running on port 3000. Open a web browser and visit the following link to see the running instance of the Hyrax application we'll be using for the workshops.
-
http://localhost:3000
[NOTE: The application may take some time to start up depending on your system resources]
-
http://localhost:3000