feat: add a way to reset password
This commit is contained in:
parent
ef752d9add
commit
fc8ea3f24a
3 changed files with 122 additions and 25 deletions
38
README.md
38
README.md
|
|
@ -2,37 +2,25 @@
|
|||
|
||||
Another reddit clone to train me.
|
||||
|
||||
## Creating a project
|
||||
|
||||
If you're seeing this, you've probably already done this step. Congrats!
|
||||
|
||||
```sh
|
||||
# create a new project in the current directory
|
||||
npx sv create
|
||||
|
||||
# create a new project in my-app
|
||||
npx sv create my-app
|
||||
```
|
||||
|
||||
## Developing
|
||||
|
||||
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
|
||||
|
||||
Sveltekit
|
||||
```sh
|
||||
npm run dev
|
||||
pnpm run dev
|
||||
```
|
||||
|
||||
# or start the server and open the app in a new browser tab
|
||||
npm run dev -- --open
|
||||
Pocketbase
|
||||
```sh
|
||||
pnpm run db_dev
|
||||
```
|
||||
|
||||
SMTP Server
|
||||
```sh
|
||||
docker run --rm -it -p 5000:80 -p 2525:25 rnwood/smtp4dev
|
||||
```
|
||||
|
||||
## Building
|
||||
|
||||
To create a production version of your app:
|
||||
|
||||
```sh
|
||||
npm run build
|
||||
```
|
||||
|
||||
You can preview the production build with `npm run preview`.
|
||||
|
||||
> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.
|
||||
pnpm run build
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue