mirror of
https://github.com/wasp-lang/open-saas.git
synced 2025-11-23 02:18:00 +01:00
* Bumps Prisma to v5 Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com> * Update Prisma to 5.19.1 * Update for React Router v6 * Update types dep * Update Prisma version * Update package-lock.json * update docs * Update main.wasp.diff * Add type: module * Updated app_diff with type:module change from package.json. * Updated version of Wasp in CI to 0.15.0-rc2. * Removed type:module from e2e-tests/package.json. --------- Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com> Co-authored-by: vincanger <70215737+vincanger@users.noreply.github.com> Co-authored-by: Filip Sodić <filip.sodic@fer.hr> Co-authored-by: Martin Sosic <sosic.martin@gmail.com>
--- template/app/README.md +++ opensaas-sh/app/README.md @@ -1,12 +1,25 @@ -# <YOUR_APP_NAME> +# opensaas.sh (demo) app -Built with [Wasp](https://wasp-lang.dev), based on the [Open Saas](https://opensaas.sh) template. +This is a Wasp app based on Open Saas template with minimal modifications that make it into a demo app that showcases Open Saas's abilities. + +It is deployed to https://opensaas.sh and serves both as a landing page for Open Saas and as a demo app. ## Development +### .env files +`.env.client` file is versioned, but `.env.server` file you have to obtain by running `npm run env:pull`, since it has secrets in it. +This will generate `.env.server` based on the `.env.vault`. +We are using https://vault.dotenv.org to power this and have an account/organization up there. +If you modify .env.server and want to persist the changes (for yourself and for the other team members), do `npm run env:push`. + ### Running locally - Make sure you have the `.env.client` and `.env.server` files with correct dev values in the root of the project. - Run the database with `wasp start db` and leave it running. - Run `wasp start` and leave it running. - [OPTIONAL]: If this is the first time starting the app, or you've just made changes to your entities/prisma schema, also run `wasp db migrate-dev`. +## Deployment + +This app is deployed to fly.io, Wasp org, via `wasp deploy fly deploy`. + +You can run `npm run deploy` to deploy it via `wasp deploy fly deploy` with required client side env vars correctly set.