Skip to content

simplenetes-io/simplenetes_io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simplenetes.io website pod

NGINX-powered site.

Dependencies

pip3 install mkdocs
# Add the install to PATH, if necessary
# PATH=$PATH:/home/<user>/.local/bin
pip3 install mkdocs-material

Workflow

  1. Get the pod running locally
./scripts/compile.sh
podc
./pod run
./pod ps
curl 127.0.0.1:8181
  1. Edit files
    Edit files inside ./src. Recompile:
./scripts/compile.sh
curl 127.0.0.1:8181

Note that in case an underlying virtual machine or some other factor such as shared mount is involved, it might be required to (re)set permissions:

./pod shell "chmod -R 755 /nginx_content"
  1. Take down pod when done:
./pod rm

Releasing

Bump/set the podVersion in pod.yaml. We use the ./scripts/version.sh script to do this.

Bump the version in pod.yaml:

./scripts/version.sh bump

Or, to set the version do:

./scripts/version.sh set 1.2.3-beta4

Then we need to commit changes, so we can tag the latest commit.

git commit -am "bump version" &&
./scripts/tag.sh &&
git push &&
git push --tags

Images are automatically built by GitHub Actions whenever a new tag is pushed.