Skip to content

Commit

Permalink
chore: remove unnecessary install step
Browse files Browse the repository at this point in the history
  • Loading branch information
psanders authored Nov 24, 2023
1 parent 1b1318a commit bdb40ec
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ mkdir goodtok
cd goodtok
```

Run the following command inside the directory to generate a set of security keys. These keys will be used to sign and verify the JWT tokens.
Next, run the following command inside the directory to generate a set of security keys. These keys will be used to sign and verify the JWT tokens.

```bash
mkdir -p .keys
Expand Down Expand Up @@ -84,22 +84,14 @@ DATABASE_URL=postgresql://postgres:postgres@postgres:5432/goodtok
CLOAK_ENCRYPTION_KEY=/* Generate a new key with cloack cli or https://cloak.47ng.com/ */
```

Next, run the following command to start the application:
Finally, run the following command to start the application:

```bash
curl -o ./compose.yaml https://raw.githubusercontent.com/fonoster/goodtok/main/compose.yaml
docker compose up -d
```

Finally, prepare the database with the following command:

```bash
curl -o ./schema.prisma https://raw.githubusercontent.com/fonoster/goodtok/main/mods/apiserver/schema.prisma
npx prisma migrate deploy --schema=./schema.prisma
rm ./schema.prisma
```

The previous command will start all the services, including the front office. You can then access the application at [http://localhost:8080](http://localhost:8080) and access the dashboard.
The previous command will start all the services, including the Front Office. You can then open the application at [http://localhost:8080](http://localhost:8080) and access the dashboard.

## Usage

Expand Down

0 comments on commit bdb40ec

Please sign in to comment.