- Set up local environment variables via
direnv. Create a.envrcfile with
export MSSQL_SA_PASSWORD=DifficultPassword123!
export DB_USER=sa
export DB_PASS=MSSQL_SA_PASSWORD
export DB_NAME=sfaThen run direnv allow
-
Rename the
db/sapassword.env.samplefile todb/sapassword.env -
Create a blank
db/setup.sqlfile. -
TODO: Do something with with the
.env.samplefile. Probably copy it into bothsrc/apiandsrc/webas.envand 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-clientrepo into the same root directory as this project viagit clone git@github.com:icefoganalytics/sfa-client.gitDirectory structure should look like: - my-organization - sfa-client - student-financial-aid
-
Boot the
sfa-clientback-end usingcd ./sfa-client && API_PORT=3100 dev upin its repo. -
In a new tab, from the
my-originalizationdirectory, boot thesfa-clientapi service viacd ./student-financial-aid/src/api && npm run start -
In a new tab, from the
my-originalizationdirectory, boot thesfa-clientweb service viacd ./student-financial-aid/src/web && npm run start