Skip to content

Commit

Permalink
docs: Some fact checks in the deployment section. (#5736)
Browse files Browse the repository at this point in the history
* docs: Some fact checks in the deployment section.

* docs: Inform users to create account in order to persist their DB.

Co-authored-by: Rob Cameron <cannikin@fastmail.com>

Co-authored-by: Rob Cameron <cannikin@fastmail.com>
Co-authored-by: David Thyresson <dthyresson@gmail.com>
  • Loading branch information
3 people committed Jun 11, 2022
1 parent a81f916 commit 9e9ecb6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/tutorial/chapter4/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ But instead of just `git add README.md` use `git add .` since you've got an enti

### The Database

We'll need a database somewhere on the internet to store our data. We've been using SQLite locally, but the kind of deployment we're going to do doesn't have a persistent disk store that we can put SQLite's file-based database on. So, for this part of this tutorial, we will use Postgres. (Prisma currently supports SQLite, Postgres and MySQL.) Don't worry if you aren't familiar with Postgres, Prisma will do all the heavy lifting. We just need to get a database available to the outside world so it can be accessed by our app.
We'll need a database somewhere on the internet to store our data. We've been using SQLite locally, but the kind of deployment we're going to do doesn't have a persistent disk store that we can put SQLite's file-based database on. So, for this part of this tutorial, we will use Postgres. (Prisma currently supports SQLite, Postgres, MySQL and SQL Server.) Don't worry if you aren't familiar with Postgres, Prisma will do all the heavy lifting. We just need to get a database available to the outside world so it can be accessed by our app.

:::danger

Expand All @@ -27,7 +27,7 @@ There are several hosting providers where you can quickly start up a Postgres in
- [Digital Ocean](https://www.digitalocean.com/products/managed-databases)
- [AWS](https://aws.amazon.com/rds/postgresql/)

We're going to go with Railway for now because it's a) free and b) ridiculously easy to get started, by far the easiest we've found. You don't even need to create a login! The only limitation is that if you *don't* create an account, your database will be removed after seven days. But unless you *really* procrastinate that should be plenty of time to get through the rest of the tutorial!
We're going to go with Railway for now because it's a) free and b) ridiculously easy to get started, by far the easiest we've found. You don't even need to create a login! The only limitation is that if you *don't* create an account, your database will be removed after one day. If you think you can finish everything you need to do in the next 24 hours, go for it! Otherwise just create an account first and it'll stick around.

Head over to Railway and click **Start a New Project**:

Expand Down

0 comments on commit 9e9ecb6

Please sign in to comment.