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

Change color #87

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions Layerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ FROM vm/ubuntu:18.04

# install docker-ce (from tutorial for ubuntu)
RUN apt-get update && \
apt-get install apt-transport-https ca-certificates curl software-properties-common && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add - && \
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable" && \
apt-get install ca-certificates curl gnupg lsb-release && \
sudo mkdir -p /etc/apt/keyrings && \
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpg && \
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" |\
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null && \
apt-get update && \
apt install docker-ce
apt-get install docker-ce docker-ce-cli containerd.io

# install docker compose
RUN curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose && \
Expand All @@ -15,7 +18,10 @@ RUN curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-c
# copy the root (i.e., repository root) to /root in the runner
COPY / /root

RUN REPEATABLE docker-compose up -d --build --force-recreate --remove-orphans && sleep 6
# TODO: log in to docker hub
# See https://webapp.io/docs/advanced-workflows#logging-in-to-docker to learn how to log in to docker

EXPOSE WEBSITE localhost:8000
RUN REPEATABLE docker-compose build --parallel
RUN docker-compose up -d

RUN docker-compose exec cypress bash /app/run_tests.sh
6 changes: 3 additions & 3 deletions services/web/src/views/main/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ body {
}

.mainBody header {
background: #0c5db8;
background: #5d0cb8;
}

.mainBody .sidebar {
background: #1c4784;
background: #471c84;
height: auto;
flex: 0 0 200px;
}
Expand Down Expand Up @@ -88,4 +88,4 @@ header {
background: #fff;
border-radius: 5px;
border: 1px solid #000;
}
}