Skip to content

Commit cef71b4

Browse files
committed
📝 Update Min Versions, + Bitnami, AWS EC2
1 parent e663a09 commit cef71b4

18 files changed

+5725
-298
lines changed

_includes/graphql/objects.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ mutation createAGameScore {
5353
"clientMutationId": "anUniqueId",
5454
"gameScore": {
5555
"id": "R2FtZVNjb3JlOjZtdGlNcmtXNnY=",
56-
"updatedAt": "2019-12-02T10:14:28.786Z",
57-
"createdAt": "2019-12-02T10:14:28.786Z",
56+
"updatedAt": "2022-12-02T10:14:28.786Z",
57+
"createdAt": "2022-12-02T10:14:28.786Z",
5858
"playerName": "Sean Plott",
5959
"score": 1337,
6060
"cheatMode": false,

_includes/parse-server/Files-Migration.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

_includes/parse-server/MongoRocks.md

Lines changed: 0 additions & 201 deletions
This file was deleted.

_includes/parse-server/ParsePlatform.md

Lines changed: 0 additions & 37 deletions
This file was deleted.

_includes/parse-server/database.md

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ If you have not used MongoDB before, we highly recommend familiarizing yourself
1010

1111
The Mongo requirements for Parse Server are:
1212

13-
* MongoDB version 3.6
14-
* An SSL connection is recommended (but not required).
13+
* MongoDB version 4.0 or newer
14+
* An SSL connection is recommended (but not required)
1515

1616
If this is your first time setting up a MongoDB instance, we recommend a Database-as-a-Service (DBaaS) like [MongoDB Atlas](https://www.mongodb.com/cloud/atlas) or [ObjectRocket](https://objectrocket.com/) which provide fully managed MongoDB instances and can help you scale as needed.
1717

@@ -23,8 +23,15 @@ In order to allow for better scaling of your data layer, it is possible to direc
2323

2424
The Postgres requirements for Parse Server are:
2525

26-
* Postgres version 9.5
27-
* PostGIS extensions 2.3
26+
* PostgreSQL 11
27+
* PostGIS 3.0, 3.1 or 3.2
28+
29+
or
30+
31+
* PostgreSQL 12 or newer
32+
* PostGIS 3.2
33+
34+
[PostGIS](https://postgis.net) required if you plan to use geographic or location features.
2835

2936
The postgres database adapter will be automatically loaded when you pass a valid postgres URL, for example: `postgres://localhost:5432`. The available configuration options through the URL are:
3037

@@ -44,8 +51,8 @@ Details about the configuration options can be found on [pg-promise](https://git
4451
* You will need to configure a [file adapter](#configuring-file-adapters) in order to store files.
4552
* Join tables are resolved in memory, there is no performance improvements using Postgres over MongoDB for relations or pointers.
4653
* Mutating the schema implies running ALTER TABLE, therefore we recommend you setup your schema when your tables are not full.
47-
* The postgres URL for 4.2.0 and below only supports the following configuration options:
54+
* The postgres URL for Parse 4.2.0 and below only supports the following configuration options:
4855

49-
```
50-
postgres://localhost:5432/db?ssl=boolean&client_encoding=string&application_name=string&fallback_application_name=string&poolSize=number&binary=boolean&keepAlive=boolean
51-
```
56+
```
57+
postgres://localhost:5432/db?ssl=boolean&client_encoding=stringapplication_name=string&fallback_application_name=stringpoolSize=number&binary=boolean&keepAlive=boolean
58+
```
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
## Deploying on AWS using Bitnami AMI
2+
3+
Here are the steps:
4+
5+
1. Log into your AWS account or create a new one [AWS Account](https://aws.amazon.com/premiumsupport/knowledge-center/create-and-activate-aws-account/)
6+
2. Go to AWS EC2 Dashboard
7+
3. Launch Instances
8+
4. On **Application and OS Images (Amazon Machine Image)** search for `Parse`
9+
5. Select **Parse Server packaged by Bitnami**
10+
6. Click `Continue`
11+
7. On **Instance Type** select `t2.micro` (is ok for testing and small projects which is Free tier eligible)
12+
8. Create or select an existing `key pair`. (If you create a new one click `Download Key Pair`)
13+
9. Click `Launch Instance`
14+
10. On **EC2 Dashboard** select the new created instance and click `Connect`
15+
11. Click `SSH Client` and follow the instructions
16+
17+
Login into the ec2 instance we perform the following commands:
18+
19+
```bash
20+
cd stack/parse
21+
```
22+
```bash
23+
cat config.json
24+
```
25+
26+
That will show Parse configuration details, save those details for later.
27+
28+
<!-- WIP -->
29+
30+
<!-- https://docs.bitnami.com/aws/apps/parse/ -->
31+
<!-- https://www.youtube.com/watch?v=H7KL_VKbSBM -->
32+
<!-- https://www.youtube.com/watch?v=5WkaGuZ35jM -->

0 commit comments

Comments
 (0)