Skip to content

datakind/sst-app-ui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

About the Student Success Tool

Frameworks Used

the Student Success Tool is built on:

One-time setup (if you were to set-up an env from scratch)

DO NOT DO THIS FOR fellows dev environment or local development as this has already been done

  1. Create a Cloud Bucket to store the static files (the files we'll generate in the cloudbuild autodeploy flow)
  2. Update the cors-config.json with allowed origin URLs
  3. Run gcloud storage buckets update gs://<BUCKET_NAME> --cors-file=cors-config.json
  4. Run gsutil cors get gs://<BUCKET_NAME> to check that the cors config applied to the bucket
  5. Run gcloud storage buckets add-iam-policy-binding gs://<BUCKET_NAME> --member=allUsers --role=roles/storage.objectViewer to enable public internet access to the bucket

NOTE: DO NOT STORE SENSITIVE/SECRET INFO IN THIS BUCKET -- this bucket should be only used to store static vite generated files.

  1. Static Asset Creation: handled automatically on push by Cloudbuild.yaml using npm install and npm build and cp to cloud bucket Cloud Build
  2. Database migrations: Cloud Run Job
  3. Auto-deploy: orchestrated by Cloud Build (currently stored inline) on Github push

Setup (one-time)

  1. brew install composer (Assuming you are on Mac, but install as you think best)
  2. brew install npm (Assuming you are on Mac, but install as you think best)

Local Development

  1. Clone this project
  2. cd [project-name]
  3. composer install
  4. Copy .env.example file to .env in the root of the repo folder.
  5. npm install
  6. npm run build
  7. php artisan key:generate
  8. php artisan migrate
  9. php artisan serve

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •