diff --git a/README.md b/README.md
index 9b0b425..907df68 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ To just do a full build and start the project run
# Setup local development env file
$ cp .env.dev .env
-# Do a full build of frontend and backend
+# Setup and do a full build of frontend and backend
$ make all
# Compile and start the server
@@ -29,12 +29,15 @@ $ go run -v ./cmd/phc-website-server
Alternativamente se si sta modificando in live il codice è comodo usare [`entr`](https://github.com/eradman/entr) e `fd` (un'alternativa a `find`)
```bash shell
-# Restart when go files change
+# Restart server when go files change
$ printf '%s\n' $(echo **/*.go) | entr -r go run ./cmd/phc-website-server
+```
+
+Per ora non c'è ancora nessun sistema alternativo ma se si sta modificando codice della frontend in `_frontend/` invece di riavviare ogni volta il server conviene lanciare in parallelo un watcher con
-# Restart when go, js or scss files change
-$ printf '%s\n' $(echo **/*.go _frontend/src/*.js _frontend/src/styles/*.scss) \
- | entr -r go run ./cmd/phc-website-server
+```bash shell
+# Recompile files inside "_frontend/src" on change
+_frontend/ $ pnpm run watch
```
## Backend
@@ -125,6 +128,14 @@ These files a processed by RollupJS into `out/`
Script che renderizza l'animazione della homepage.
+- `appunti-condivisi.jsx`
+
+ Script che aggiunte l'interattività alla pagina `/appunti/condivisi` utilizzando Preact come libreria di UI.
+
+ ```html
+
+ ```
+
## Environment Variables
- `MODE`
@@ -150,6 +161,10 @@ These files a processed by RollupJS into `out/`
- `GIT_URL`
- `CHAT_URL`
+- `BASE_URL`
+
+ Base dell'url per i link nel sito, per adesso usato per il feed RSS. In locale conviene impostarlo come `HOST` magari premettendo il protocollo (eg. `http://localhost:8080`)
+
- `USER_PAGES_BASE_URL`
Base dell'url per le pagine utente di Poisson, di default `https://poisson.phc.dm.unipi.it/~`
diff --git a/_frontend/package.json b/_frontend/package.json
index 89552e6..856afc8 100644
--- a/_frontend/package.json
+++ b/_frontend/package.json
@@ -4,8 +4,11 @@
"description": "Package to generate frontend files for phc/website",
"scripts": {
"build": "npm-run-all -p build:*",
+ "watch": "npm-run-all -p watch:*",
"build:js": "rollup -c",
- "build:css": "sass -s compressed --no-source-map src/styles/main.scss out/next.css"
+ "watch:js": "rollup -c -w",
+ "build:css": "sass -s compressed src/styles/main.scss out/next.css",
+ "watch:css": "sass -w src/styles/main.scss out/next.css"
},
"keywords": [],
"author": "aziis98 ",