Huge changes

This commit is contained in:
2026-03-08 13:04:05 +00:00
parent 51eb41965c
commit b19e3c1039
167 changed files with 1786 additions and 342 deletions

40
20260104155940-server_backend.org Normal file → Executable file
View File

@@ -32,14 +32,17 @@ The project is packaged as a Docker container, making it easy to deploy. You can
#+begin_src bash
docker compose build org_backend
docker compose build org_backend
docker compose up -d org_backend
# To check logs
docker compose up -d org_backend
# Alternatively:
docker compose down && docker compose build --no-cache && docker compose up -d
# To check logs
docker logs -f org_backend
docker logs -f org_backend
#+end_src
* Bruno
@@ -56,3 +59,28 @@ Flow of how a note would be written:
4. This will trigger a function that republishes the notes website to include the new note.
**Need to think more about this.**
* Update
The org-backend is no longer hosted using docker, it is now using systemd. The backend is still built using Maven, but it is now deployed as a standalone application rather than a Docker container.
Here are the commands needed:
#+begin_src bash
# To build the application
mvn clean package -DskipTests
# To run the application
java -jar target/org_backend-1.0.0-SNAPSHOT.jar
# systemctl commands
sudo systemctl start org_backend
sudo systemctl stop org_backend
sudo systemctl restart org_backend
sudo systemctl status org_backend
# To check logs
journalctl -u org_backend -f
#+end_src