Skip to content

Commit

Permalink
update for chapter 11
Browse files Browse the repository at this point in the history
  • Loading branch information
dolevf committed Nov 6, 2023
1 parent d7c5bba commit 8025fb7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
11 changes: 7 additions & 4 deletions lab/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,17 @@
## Start the Lab
Go into the lab folder in this repository and run:

`chmod u+x run.sh && ./run.sh deploy`
`sudo make deploy`

## Test the Lab
`sudo make test`

## Stop the Lab
`./run.sh teardown`
`sudo make teardown`

## Rebuild the Lab
`./run.sh rebuild`
`sudo make rebuild`

## Destroy the Lab
`./run.sh cleanup`
`sudo make clean`

3 changes: 3 additions & 0 deletions lab/machines/c-db-01/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ COPY files/adminer-4.8.1.php /var/www/html/adminer.php
COPY files/database.sql /var/www/html/database.sql
COPY files/customers.sql /var/tmp/customers.sql

RUN mkdir /var/www/html/uploads
RUN chmod 777 /var/www/html/uploads

# Entry
ENTRYPOINT service mariadb restart \
&& \
Expand Down

0 comments on commit 8025fb7

Please sign in to comment.