Skip to content

Commit dd3de5c

Browse files
committed
1 parent fbf9948 commit dd3de5c

File tree

2 files changed

+6
-6
lines changed
  • examples
    • PostGIS - using sqlpage with geographic data
    • official-site/your-first-sql-website

2 files changed

+6
-6
lines changed

examples/PostGIS - using sqlpage with geographic data/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
## Introduction
44

55
This is a small application that uses [PostGIS](https://postgis.net/)
6-
to save data associated to greographic coordinates.
6+
to save data associated with geographic coordinates.
77

8-
If you are using a SQLite database instead see [this other example instead](../make%20a%20geographic%20data%20application%20using%20sqlite%20extensions/),
9-
which implements the same application using the `spatialite` extension.
8+
If you are using a SQLite database, see [this other example instead](../make%20a%20geographic%20data%20application%20using%20sqlite%20extensions/),
9+
which implements the same application using the `spatialite` extension for SQLite.
1010

1111
### Installation
1212

examples/official-site/your-first-sql-website/tutorial.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Here is an example `sqlpage.json` file:
7979
This will tell SQLPage to use an in-memory SQLite database instead of the default file-based database. While this means all changes to the database will be lost when you stop the SQLPage server, it's useful for quickly testing and iterating on your database schema.
8080
If you then deploy your website online using a service like [DataPage.app](https://datapage.app), it will automatically use a persisted database instead.
8181

82-
Later, when you want to deploy your website online, you can switch back to a persisted database like
82+
Later, when you want to deploy your website online, you can switch back to a persistent database like
8383

8484
- a SQLite file with `sqlite://your-database-file.db` ([see options](https://docs.rs/sqlx/0.6.3/sqlx/sqlite/struct.SqliteConnectOptions.html#main-content)),
8585
- a PostgreSQL-compatible server with `postgres://user:password@host/database` ([see options](https://www.postgresql.org/docs/15/libpq-connect.html#id-1.7.3.8.3.6)),
@@ -175,8 +175,8 @@ If you prefer to host your website yourself, you can use a cloud provider or a V
175175
- Configure domain name resolution to point to your server
176176
- Open the port you are using (8080 by default) in your server's firewall
177177
- [Setup docker](https://github.com/lovasoa/SQLpage?tab=readme-ov-file#with-docker) or another process manager such as [systemd](https://github.com/lovasoa/SQLpage/blob/main/sqlpage.service) to start SQLPage automatically when your server boots and to keep it running
178-
- Optionnally, [setup a reverse proxy](nginx.sql) to avoid exposing SQLPage directly to the internet
179-
- Optionnally, setup a TLS certificate to enable HTTPS
178+
- Optionally, [setup a reverse proxy](nginx.sql) to avoid exposing SQLPage directly to the internet
179+
- Optionally, setup a TLS certificate to enable HTTPS
180180
- Configure connection to a cloud database or a database running on your server in [`sqlpage.json`](https://github.com/lovasoa/SQLpage/blob/main/configuration.md#configuring-sqlpage)
181181

182182
# Go further

0 commit comments

Comments
 (0)