A very reasonable (and early alpha) map for the codam clusters
-
Request API keys for the intranet. The redirect URI should be
http://localhost:3000/auth/callback
and we only need the "Access the user public data" scope. -
Store the
UID
andSECRET
in a.env
file at the root of the repository:UID=your_uid_here SECRET=your_secret_here
-
If you are on a Codam iMac you can install them using homebrew:
- Install 42 Homebrew:
curl -fsSL https://rawgit.com/kube/42homebrew/master/install.sh | zsh
- Install Node.js and Redis:
brew install node redis
- Install 42 Homebrew:
-
Install dependencies using
npm i
- Start redis using
redis-server
- Run the project using
npm run dev
in a separate terminal. (hint: press⌘\
to split the terminal in vscode) - Visit https://localhost:3000 🎉 (if it doesn't work, ask nloomans or nmartins)