Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add example for adding a database and highlight the password length #25

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion docs/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ If you want to contribute and don't know where to start, here is a step-by-step
7. Run `pnpm migrations migrate` - apply database migrations
8. Run `pnpm dev` - URL will be logged

## Creating database
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this a requirement right now? weird, because I never did this


If you are configuring the app for the first time. Create the database before running migrations.

```sh
user=# CREATE DATABASE webstudio;
JayaKrishnaNamburu marked this conversation as resolved.
Show resolved Hide resolved
```

## Login locally

When downloading the app you will have two options for login and they both work in different ways.
Expand All @@ -46,7 +54,7 @@ DEV_LOGIN=true
AUTH_SECRET=a random value
```

To login in the app click on the "Dev Login" button and paste the first four character of your `AUTH_SECRET` in the input.
To login in the app click on the "Dev Login" button and paste the **first four character** of your `AUTH_SECRET` in the input.

### GitHub Login

Expand Down