Skip to content

Commit

Permalink
update deploy docs, and test actions runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Magnus Alexander Strømseng committed Mar 19, 2024
1 parent 9513d4a commit 144b6a4
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
20 changes: 15 additions & 5 deletions docs/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand All @@ -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
- DATABASE_CLIENT=sqlite
- DATABASE_FILENAME=/var/data/strapi.db
- HOST=0.0.0.0
- HOST_URL=http://backend-app:1337
- PORT=1337
3 changes: 2 additions & 1 deletion frontend/src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ export default async function Home() {
>
<div className="prose flex flex-col items-center text-center dark:prose-invert prose-img:rounded-xl">
<h1>
Empowering Space Exploration One Satellite at a Time
TEST Empowering Space Exploration One Satellite at a
Time
</h1>

<div className="relative h-[300px] w-[300px]">
Expand Down

0 comments on commit 144b6a4

Please sign in to comment.