Prechádzať zdrojové kódy

:memo: Update deployment instructions

DricomDragon 1 rok pred
rodič
commit
062d8afada
1 zmenil súbory, kde vykonal 9 pridanie a 10 odobranie
  1. 9 10
      README.md

+ 9 - 10
README.md

@@ -1,25 +1,23 @@
-# Jovian Static Website
+# Jovian Static generated Website
 
 Jovian portfolio and resume
 
 ## Test locally
 
-### Before committing
+### Check the generated code source
 
-Start a standalone PHP server on port 8080.
-
-Run `undeployed/scripts/serve-home.sh`
+```sh
+make build
+```
 
-Check your work [on standalone PHP server](http://localhost:8080).
+Look at the `*.gen.*` files to check the generated code.
 
 ### 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`.
 
 ```sh
-DIST_DIR=/var/www/html make -e dist
+DIST_DIR=/var/www/html make -e install
 ```
 
 Check your work [on local apache server](http://localhost).
@@ -28,7 +26,7 @@ You can set your custom env vars in a `.env.local` file and injecting them with
 
 ```sh
 source .env.local
-make -e dist
+make -e install
 ```
 
 ## Deploy to prod
@@ -54,3 +52,4 @@ You can deploy on local apache before pushing your code to production.
 ### Put into production
 
 Run `undeployed/scripts/deploy-to-ovh.sh`
+