-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: combine the website and data-catalog directories under the brc-…
…analytics project (#16)
- Loading branch information
Fran McDade
authored and
Fran McDade
committed
Sep 5, 2024
1 parent
f38fc44
commit 74d3967
Showing
164 changed files
with
16,216 additions
and
32,883 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
NEXT_PUBLIC_SITEMAP_DOMAIN='https://brc-analytics.dev.clevercanary.com' | ||
NEXT_PUBLIC_BASE_PATH='/data' | ||
SITEMAP_EXCLUDE='/export*,/login' | ||
NEXT_PUBLIC_BASE_PATH='' | ||
SITEMAP_EXCLUDE='/export*,/login' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
**/node_modules/* | ||
**/out/* | ||
**/.next/* | ||
|
||
/out | ||
|
||
venv |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,36 @@ | ||
# dependencies | ||
/node_modules | ||
|
||
.idea/ | ||
# next.js | ||
/.next/ | ||
|
||
# misc | ||
.DS_Store | ||
*.pem | ||
|
||
# debug | ||
npm-debug.log* | ||
|
||
# env files | ||
/.env*.local | ||
/.env.development | ||
/.env.production | ||
|
||
# typescript | ||
*.tsbuildinfo | ||
|
||
# editors | ||
/.vscode | ||
.idea | ||
|
||
# nvm | ||
.nvmrc | ||
|
||
# favicons | ||
/public/favicons/* | ||
|
||
# Build Dir | ||
/out | ||
|
||
# python | ||
venv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
node_modules | ||
|
||
# build | ||
/out | ||
out | ||
|
||
# python | ||
venv |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,22 @@ | ||
# brc-analytics | ||
# brc-analytics | ||
|
||
# BRC Analytics Data Catalog | ||
|
||
## Building the data source files | ||
|
||
Create a Python virtual environment and install requirements: | ||
|
||
```shell | ||
python3 -m venv ./venv | ||
source ./venv/bin/activate | ||
pip install -r ./files/requirements.txt | ||
``` | ||
|
||
Then run the script: | ||
|
||
```shell | ||
python3 ./files/build-genomes-files.py | ||
``` | ||
|
||
The environment can be deactivated by running `deactivate`, and re-activated by running `source ./venv/bin/activate` | ||
again. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { PaletteColorOptions } from "@mui/material"; | ||
|
||
/** | ||
* Palette "Hero" | ||
*/ | ||
enum HERO { | ||
LIGHT = "#28285B", | ||
MAIN = "#28285B", | ||
} | ||
|
||
/** | ||
* Color constants | ||
*/ | ||
export const heroLight = HERO.LIGHT; | ||
export const heroMain = HERO.MAIN; | ||
|
||
/** | ||
* Palette Option "Hero" | ||
*/ | ||
export const hero: PaletteColorOptions = { | ||
light: heroLight, | ||
main: heroMain, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions
8
...-analytics.dev.clevercanary.com-deploy.sh → ...c-analytics.dev.clevercanary.com-build.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
#!/usr/bin/env bash | ||
|
||
# Exit immediately if a command exits with a non-zero status | ||
set -e | ||
|
||
echo \"Deleting ./out/\" | ||
rm -rf ./out | ||
|
||
# install node version 20.10.0 | ||
n 20.10.0 | ||
npm ci | ||
export NEXT_PUBLIC_BASE_PATH="" | ||
|
||
|
||
# Build the website | ||
# Build catalog | ||
npm run build:local | ||
|
||
export BUCKET=s3://tik-brc-analytics.dev/ | ||
export SRCDIR=out/ | ||
|
||
aws s3 sync $SRCDIR $BUCKET --delete --profile excira | ||
aws cloudfront create-invalidation --distribution-id E1OF5ESEGD5VAG --paths "/*" --profile excira | ||
aws cloudfront create-invalidation --distribution-id E1OF5ESEGD5VAG --paths "/*" --profile excira |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.