Skip to content

Commit 84884d5

Browse files
authored
Merge pull request #184 from fairdataihub/zenodo-transfer
feat: ✨ Archival workflow transfer to Octokit + Nuxt
2 parents a75787b + 862e782 commit 84884d5

31 files changed

Lines changed: 3268 additions & 793 deletions

File tree

bot.ps1

Lines changed: 0 additions & 2 deletions
This file was deleted.

bot.sh

Lines changed: 0 additions & 4 deletions
This file was deleted.

dev.ps1

Lines changed: 0 additions & 14 deletions
This file was deleted.

dev.sh

Lines changed: 0 additions & 14 deletions
This file was deleted.

scripts/bot.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Set-Location "$PSScriptRoot\..\bot"
2+
yarn dev

scripts/bot.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env sh
2+
3+
cd "$(dirname "$0")/../bot"
4+
yarn dev

scripts/deploy.ts

Lines changed: 0 additions & 49 deletions
This file was deleted.

scripts/dev.ps1

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
$root = Resolve-Path "$PSScriptRoot\.."
2+
3+
# Start the bot app in the background
4+
Start-Job -ScriptBlock {
5+
Set-Location "$using:root\bot"
6+
yarn dev
7+
}
8+
9+
# Start the UI app in the background
10+
Start-Job -ScriptBlock {
11+
Set-Location "$using:root\ui"
12+
yarn dev
13+
}
14+
15+
# Start the validator app in the background
16+
Start-Job -ScriptBlock {
17+
Set-Location "$using:root\validator"
18+
docker compose -f .\docker-compose.yaml up -d --build
19+
}
20+
21+
# Show running jobs
22+
Get-Job

scripts/dev.sh

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/bash
2+
3+
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
4+
5+
# Start the UI app
6+
cd "$ROOT/ui"
7+
yarn dev &
8+
9+
# Start the bot app
10+
cd "$ROOT/bot"
11+
yarn dev &
12+
13+
# Start the validator app
14+
cd "$ROOT/validator"
15+
docker compose -f ./docker-compose.yaml up -d --build
16+
17+
18+
## Run the following command to make the script executable
19+
# chmod +x dev.sh
20+
# ./dev.sh

scripts/ui.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Set-Location "$PSScriptRoot\..\ui"
2+
yarn dev

0 commit comments

Comments
 (0)