Skip to content

Commit 52eae4b

Browse files
committed
readme file
1 parent 6c4a65e commit 52eae4b

File tree

2 files changed

+41
-12
lines changed

2 files changed

+41
-12
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# SysBio Portal Code
2+
3+
This repository contains the code for the SysBio Portal, automatically synced from the source repository.
4+
5+
**Please do not make direct edits here.** Changes should be made in the source repository. Contact the maintainers for any questions. This is WIP repo, and depends on how things progress, auto-sync might be disabled in favor of manual review in the future if needed.
6+
7+
To set the volcano plot to a different data source (in the gene expression browser), you can set the environment variable `VUE_APP_VOLCANO_DATASET_URL` to desired path at runtime.
8+
9+
To run: `npm install`, then `npm run deploy`
10+
11+
The output will be in the `portals/SysBio` directory, ready to be served by any webserver.
12+
13+
## Docker Support
14+
15+
This repository includes Docker support for easy deployment:
16+
17+
```bash
18+
# Build and run with Docker Compose
19+
docker-compose up -d
20+
21+
# Or build and run with Docker directly
22+
docker build -t sysbio-portal .
23+
docker run -p 8080:8080 sysbio-portal
24+
```
25+
26+
The application will be available at http://localhost:8080
27+
28+
### Build-time Configuration
29+
30+
Environment variables can be set at build time:
31+
32+
```bash
33+
# Using Docker build args
34+
docker build --build-arg VUE_APP_VOLCANO_DATASET_URL=https://example.com/data.csv.gz -t sysbio-portal .
35+
36+
# Using Docker Compose
37+
# Edit docker-compose.yml to include your desired build args
38+
```
39+
40+
For more detailed Docker instructions, see `DOCKER_README.md`.

.github/workflows/sysbio-code-sync.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -52,18 +52,7 @@ jobs:
5252
# Step 4.5: Create a custom README in the target directory
5353
- name: Create Custom README in Target
5454
run: |
55-
echo "# SysBio Portal Code" > repo-b/README.md
56-
echo "" >> repo-b/README.md
57-
echo "This repository contains the code for the SysBio Portal, automatically synced from the source repository." >> repo-b/README.md
58-
echo "" >> repo-b/README.md
59-
echo "**Please do not make direct edits here.** Changes should be made in the source repository. Contact the maintainers for any questions. This is WIP repo, and depends on how things progress, auto-sync might be disabled in favor of manual review in the future if needed." >> repo-b/README.md
60-
echo "" >> repo-b/README.md
61-
echo "" >> repo-b/README.md
62-
echo "To set the volcano plot to a different data source (in the gene expression browser), you can set the environment variable \`VUE_APP_VOLCANO_DATASET_URL\` to desired path at runtime." >> repo-b/README.md
63-
echo "" >> repo-b/README.md
64-
echo "To run: \`npm install\`, then \`npm run deploy\`" >> repo-b/README.md
65-
echo "" >> repo-b/README.md
66-
echo "The output will be in the \`portals/SysBio\` directory, ready to be served by any webserver." >> repo-b/README.md
55+
cp .github/templates/README-sysbio-portal.md repo-b/README.md
6756
6857
# Step 4.6: Replace vue.config.js with configs/vue.config.SysBio.js in the target directory
6958
- name: Update Vue config in target

0 commit comments

Comments
 (0)