mirror of
https://github.com/jcreek/SvelteKitSaasBoilerplate.git
synced 2026-07-12 18:43:50 +00:00
docs(#29): Update local development docs
This commit is contained in:
@@ -17,6 +17,11 @@ npm run dev -- --open
|
|||||||
|
|
||||||
An example `.env` file is provided in the repository. You will need to copy `.env.example` to `.env` and fill in the values with your own credentials.
|
An example `.env` file is provided in the repository. You will need to copy `.env.example` to `.env` and fill in the values with your own credentials.
|
||||||
|
|
||||||
|
If you want a fully local development environment (other than stripe) then you can follow the instructions in the [database setup](/docs/database-setup.md) document and make use of the local supabase instance and a local email service.
|
||||||
|
|
||||||
|
- [Local DB Url](http://localhost:54323/)
|
||||||
|
- [Local Email Monitoring Url](http://localhost:54324/)
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
|
||||||
To create a production version:
|
To create a production version:
|
||||||
|
|||||||
@@ -34,6 +34,8 @@ npx supabase start
|
|||||||
npx supabase stop
|
npx supabase stop
|
||||||
```
|
```
|
||||||
|
|
||||||
|
This will start the local DB and email monitoring services. You can access the web interfaces for the local DB at [http://localhost:54323/](http://localhost:54323/) and the email monitoring at [http://localhost:54324/](http://localhost:54324/).It will also give you the API URL, anon key and service_role key to put in your `.env` file for local development.
|
||||||
|
|
||||||
## Migrations
|
## Migrations
|
||||||
|
|
||||||
There are two options to create a migration file:
|
There are two options to create a migration file:
|
||||||
|
|||||||
Reference in New Issue
Block a user