direnv
. Create a .envrc
file withexport MSSQL_SA_PASSWORD=DifficultPassword123!
export DB_USER=sa
export DB_PASS=MSSQL_SA_PASSWORD
export DB_NAME=sfa
Then run direnv allow
Rename the db/sapassword.env.sample
file to db/sapassword.env
Create a blank db/setup.sql
file.
TODO: Do something with with the .env.sample
file. Probably copy it into both src/api
and src/web
as .env
and fill in all the values?
TODO: figure out what environment variables go where, and in which files.
docker compose -f ./docker-compose.dev.yaml up
cd ./src/api
npm install
npm run start
cd ./src/web
npm install
npm run start
sfa-client
back-endClone the sfa-client
repo into the same root directory as this project via git clone git@github.com:icefoganalytics/sfa-client.git
Directory structure should look like: - my-organization - sfa-client - student-financial-aid
Boot the sfa-client
back-end using cd ./sfa-client && API_PORT=3100 dev up
in its repo.
In a new tab, from the my-originalization
directory, boot the sfa-client
api service via cd ./student-financial-aid/src/api && npm run start
In a new tab, from the my-originalization
directory, boot the sfa-client
web service via cd ./student-financial-aid/src/web && npm run start