|
@@ -10,12 +10,18 @@ Start a standalone PHP server on port 8080.
|
|
|
|
|
|
Run `undeployed/scripts/serve-home.sh`
|
|
|
|
|
|
+Check your work [on standalone PHP server](http://localhost:8080).
|
|
|
+
|
|
|
### 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](http://localhost).
|
|
|
+
|
|
|
## Deploy to prod
|
|
|
|
|
|
### Branching
|
|
@@ -32,6 +38,10 @@ Increment the version number `vX.Y.Z` :
|
|
|
- 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`
|