Skip to content
Permalink
Browse files
updates README for site deployment instructions
  • Loading branch information
poorejc committed Jun 19, 2022
1 parent 6ed724c commit 8770fcec2f7694309c314bdd176aa830c49c113b
Showing 1 changed file with 4 additions and 3 deletions.
@@ -10,12 +10,13 @@ How to Build and Deploy Site
```
docker run -p 8000:8000 -it flagon:site python -m SimpleHTTPServer
```
4. (Optional): To update the site, can copy the files from the container to _site.
4. (Optional): To update the site, can copy the files from the container to `_site`.
```
# First grab container id
CID=$(docker create -p 8000:8000 -it flagon:site python -m SimpleHTTPServer)
# Reference container id to grab built contents
docker cp $CID:/app/_site .
```
5. N.B. Make sure that any Website changes which are to be deployed to production are pushed
to the **asf-site** branch.
Then copy files from `_site` in `/site` folder into `/contents` folder.

Merge new website mods at **master** branch with **asf-site** branch to push changes live.

0 comments on commit 8770fce

Please sign in to comment.