Skip to content

Installation with Docker

Ethan Turner edited this page Dec 19, 2018 · 51 revisions

First, install Docker:

This will not work on AXD3 at present

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

Check out the branch you want, and then:

docker build -t myuw_web:latest . && docker run -it -p 8000:8000 myuw_web:latest

If that doesn't work, try clearing your system cache:

docker system prune -a

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.