Skip to content

Installation with Docker

Ethan Turner edited this page May 21, 2018 · 51 revisions

First, install Docker:

Windows, Mac, Ubuntu, Other

If you're on a Mac, you will need to run Docker.

If you're using Ubuntu, you'll need to be root.

If you're on Windows, you'll need to run bash and make sure Docker is in your PATH.

If you're reinstalling with the same directory that previously had a docker build, you'll need to delete your project/ folder. Be sure to git stash any changes that you want to keep ahead of time that aren't committed.

Navigate to the directory that you want your MyUW installation to reside within in terminal and run the following commands:

git clone https://github.com/uw-it-aca/myuw   
cd myuw
git checkout develop

And then:

docker build -t myuw_web:latest . && docker-compose up

If you're on Ubuntu, you may need to do the following:

sudo chown -R USERNAME:GROUP .

Replace USERNAME with your username and GROUP with your group.