From 144b6a4325bc693914dd2f2594b56d67364e7f3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20Alexander=20Str=C3=B8mseng?= Date: Tue, 19 Mar 2024 17:59:19 +0100 Subject: [PATCH] update deploy docs, and test actions runner --- docs/deployment.md | 20 +++++++++++++++----- frontend/src/app/page.tsx | 3 ++- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/docs/deployment.md b/docs/deployment.md index bb27669..9bd14fc 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -32,6 +32,16 @@ Also make sure to install `pm2` Setup a self hosted GitHub runner for the repository. +`sudo useradd -r -s /bin/nologin outreach-github-runner` + +`cd /actions-runner/` + +`./svc.sh install outreach-github-runner` + +`sudo ./svc.sh start` + +`sudo journalctl -u actions.runner.ITP2-SmallSatLab-Hypso-IT2901-SmallSatLab-Hypso.smallsat01.service -f` + ###### Secrets and variables The secrets should all be filled in and generated using `openssl rand -base64 32` @@ -46,8 +56,8 @@ The GitHub repo should define the following secrets: And the following variables: -- DATABASE_CLIENT=sqlite -- DATABASE_FILENAME=/var/data/strapi.db -- HOST=0.0.0.0 -- HOST_URL=http://backend-app:1337 -- PORT=1337 \ No newline at end of file +- DATABASE_CLIENT=sqlite +- DATABASE_FILENAME=/var/data/strapi.db +- HOST=0.0.0.0 +- HOST_URL=http://backend-app:1337 +- PORT=1337 diff --git a/frontend/src/app/page.tsx b/frontend/src/app/page.tsx index 42b6ec8..3bb6811 100644 --- a/frontend/src/app/page.tsx +++ b/frontend/src/app/page.tsx @@ -72,7 +72,8 @@ export default async function Home() { >

- Empowering Space Exploration One Satellite at a Time + TEST Empowering Space Exploration One Satellite at a + Time