My own website https://www.jovian-hersemeule.eu/projets/pandoc_site/content.html
DricomDragon acb47b2f78 :wrench: Make deploy script working with sftp | před 1 rokem | |
---|---|---|
src | před 1 rokem | |
undeployed | před 1 rokem | |
.gitignore | před 1 rokem | |
.lvimrc | před 4 roky | |
README.md | před 1 rokem | |
example.env.local | před 1 rokem | |
makefile | před 1 rokem |
Jovian portfolio and resume
Start a standalone PHP server on port 8080.
Run undeployed/scripts/serve-home.sh
Check your work on standalone PHP server.
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
.
DIST_DIR=/var/www/html make -e dist
Check your work on local apache server.
You can set your custom env vars in a .env.local
file and injecting them with the source
command. See example.env.local to see the useful vars to implement.
source .env.local
make -e dist
Merge your branch into the master branch and deploy from master
.
Retrieve the last version with git describe
.
Increment the version number vX.Y.Z
:
Use a annotated tag with git tag -a vX.Y.Z
.
You can deploy on local apache before pushing your code to production.
Run undeployed/scripts/deploy-to-ovh.sh