My own website https://www.jovian-hersemeule.eu/projets/pandoc_site/content.html

DricomDragon d288054c27 :eyes: Ignore distributable files 1 年之前
src 0a0b310d12 :fire: Remove technical php 1 年之前
undeployed 402222a86f :truck: Rename source folder 1 年之前
.gitignore d288054c27 :eyes: Ignore distributable files 1 年之前
.lvimrc 06ba8e9afe Set up project vimrc to keep code consistent 4 年之前
README.md 0beebad45a :memo: Add test urls and tag format 2 年之前
makefile cbf6a91808 :tada: Add distributable folder recipe 1 年之前

README.md

Jovian Static Website

Jovian portfolio and resume

Test locally

Before committing

Start a standalone PHP server on port 8080.

Run undeployed/scripts/serve-home.sh

Check your work on standalone PHP server.

Deploy on local apache

Can be used to test the deployement script like updating the version number.

You may need to manually start apache first with service apache2 start.

Run undeployed/scripts/deploy-local-httpd.sh

Check your work on local apache server.

Deploy to prod

Branching

Merge your branch into the master branch and deploy from master.

Tag

Retrieve the last version with git describe.

Increment the version number vX.Y.Z :

  • Increment X for breaking change (like new tech) ;
  • Increment Y when new content is added (sections, pages) ;
  • Increment Z when you patched something (misprint, correction, minor updates).

Use a annotated tag with git tag -a vX.Y.Z.

You can deploy on local apache before pushing your code to production.

Put into production

Run undeployed/scripts/deploy-to-ovh.sh