Pathfinder SSO Developer Guide
Setting up the local development environment
asdfis a tool to manage the required packages with specific versions.- All the packages are defined in
tool-versions
Installation
- If running ubuntu, make sure that you have all the following packages installed.
sudo apt-get install libsqlite3-dev bzip2sudo apt-get install icu-devtoolssudo apt-get install uuid-dev
- Install
asdfaccording to theasdfinstallation guide. - Install
asdfpackages defined in.tool-versions.cat .tool-versions | cut -f 1 -d ' ' | xargs -n 1 asdf plugin-add || true
asdf plugin-update --all
asdf install
asdf reshim - Confirm the libraries have been properly installed by running
asdf current. The output will tell you if any packages failed to download. - Run
pip install -r requirements.txtto install python packages- Note: If running into as asdf error, try running
asdf reshim
- Note: If running into as asdf error, try running
- Run
pre-commit install - Run
gitlint install-hook
Run Locally
-
Install dependencies
npm install or yarn -
Start the server
npm run start or yarn start