Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Wiki / Readme with full instructions on how to build and run the SPARC app? #209

Open
agarny opened this issue Nov 12, 2020 · 0 comments

Comments

@agarny
Copy link
Contributor

agarny commented Nov 12, 2020

I am on macOS and my computer wasn't set up to run the SPARC app. In other words, yarn install followed by yarn dev didn't cut it for me.

Instead, I had to do the following:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.0/install.sh | bash
  • Install node.js 12.13.0:
nvm install v12.13.0
curl -o- -L https://yarnpkg.com/install.sh | bash
  • Export some environment variables:
export KNOWLEDGEBASE_KEY=<KNOWLEDGEBASE_KEY>
export BLACKFYNN_API_HOST=<BLACKFYNN_API_HOST>
export BLACKFYNN_API_SECRET=<BLACKFYNN_API_SECRET>
export BLACKFYNN_API_TOKEN=<BLACKFYNN_API_TOKEN>
export CTF_SPACE_ID=<CTF_SPACE_ID>
export CTF_CDA_ACCESS_TOKEN=<CTF_CDA_ACCESS_TOKEN>
export CTF_API_HOST=<CTF_API_HOST>
export DEPLOY_ENV=<DEPLOY_ENV>
git clone https://github.com/nih-sparc/sparc-app.git
cd sparc-app
  • Install the SPARC App's dependencies:
yarn install         <-- Results in quite a few warnings that probably ought to be addressed
yarn dev             <-- Results in a warning about the mode option being deprecated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant