- Set up local environment variables via
direnv
. Create a.envrc
file with
export 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 todb/sapassword.env
-
Create a blank
db/setup.sql
file. -
TODO: Do something with with the
.env.sample
file. Probably copy it into bothsrc/api
andsrc/web
as.env
and fill in all the values?
TODO: figure out what environment variables go where, and in which files.
- Boot the database via
docker compose -f ./docker-compose.dev.yaml up
- Boot the back-end via
cd ./src/api
npm install
npm run start
- Boot the front-end via
cd ./src/web
npm install
npm run start
-
Clone the
sfa-client
repo into the same root directory as this project viagit 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 usingcd ./sfa-client && API_PORT=3100 dev up
in its repo. -
In a new tab, from the
my-originalization
directory, boot thesfa-client
api service viacd ./student-financial-aid/src/api && npm run start
-
In a new tab, from the
my-originalization
directory, boot thesfa-client
web service viacd ./student-financial-aid/src/web && npm run start