Skip to content

Commit

Permalink
Production deployment (#455)
Browse files Browse the repository at this point in the history
**Only merge using a merge commit!**
  • Loading branch information
github-actions[bot] authored Mar 24, 2024
2 parents 53a5543 + b06dc27 commit dbc7df1
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 19 deletions.
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Sinister Incorporated
<h1 align="center">Sinister Incorporated</h1>

Tools of the Star Citizen organization _Sinister Incorporated_.
<p align="center">Monorepo for the apps of the Star Citizen organization `Sinister Incorporated`.</p>

<p align="center">
<a href="https://github.com/simonknittel/sinister-incorporated/blob/develop/docs/screenshot-dashboard.png" style="display: block;">
<img src="https://github.com/simonknittel/sinister-incorporated/blob/develop/docs/screenshot-dashboard.png?raw=true" height="200" width="361">
</a>

<a href="https://github.com/simonknittel/sinister-incorporated/blob/develop/docs/screenshot-spynet-citizen.png" style="display: block;">
<img src="https://github.com/simonknittel/sinister-incorporated/blob/develop/docs/screenshot-spynet-citizen.png?raw=true" height="200" width="361">
</a>
</p>

## Features

Expand Down
10 changes: 0 additions & 10 deletions app/README.md

This file was deleted.

13 changes: 6 additions & 7 deletions docs/changing-database-schema.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# Changing database schema

1. Update `schema.prisma`
2. Start local database: `docker compose up`
3. Update local database: `npx prisma db push`
4. Commit and push everything to develop
5. Update stage database: `DATABASE_URL= npx prisma db push`
6. Run production deployment
7. Update production database: `DATABASE_URL= npx prisma db push`
1. Update `schema.prisma` as required
2. Run `npx prisma db push`
3. Create migration `npx prisma migrate dev --name my-migration`
4. Commit
5. Apply to other developer databases: `npx prisma migrate dev`
6. Apply to production databases: `DATABASE_URL=... npx prisma migrate deploy`
Binary file added docs/screenshot-dashboard.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/screenshot-spynet-citizen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit dbc7df1

Please sign in to comment.