You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Download the binary that corresponds to your operating system (linux, macos, or windows).
155
158
- Uncompress it: `tar -xzf sqlpage-*.tgz`
156
-
- Run it in a terminal: `./sqlpage.bin`
159
+
- Run it: `./sqlpage.bin`
157
160
158
161
### With docker
159
162
@@ -193,8 +196,10 @@ An alternative for Mac OS users is to use [SQLPage's homebrew package](https://f
193
196
- [Image gallery](./examples/image%20gallery%20with%20user%20uploads/): An image gallery where users can log in and upload images. Illustrates the implementation of a user authentication system using session cookies, and the handling of file uploads.
194
197
- [User Management](./examples/user-authentication/): An authentication demo with user registration, log in, log out, and confidential pages. Uses PostgreSQL.
195
198
- [Making a JSON API and integrating React components in the frontend](./examples/using%20react%20and%20other%20custom%20scripts%20and%20styles/): Shows how to integrate a react component in a SQLPage website, and how to easily build a REST API with SQLPage.
199
+
- [Handling file uploads](./examples/image%20gallery%20with%20user%20uploads): An image gallery where authenticated users can publish new images via an upload form.
200
+
- [Bulk data import from CSV files](./examples/official-site/examples/handle_csv_upload.sql) : A simple form letting users import CSV files to fill a database table.
196
201
197
-
You can try all the examples online using [SQLPage's online demo on replit](https://replit.com/@pimaj62145/SQLPage).
202
+
You can try all the examples online without installing anything on your computer using [SQLPage's online demo on replit](https://replit.com/@pimaj62145/SQLPage).
198
203
199
204
## Configuration
200
205
@@ -206,6 +211,15 @@ For more information, read [`configuration.md`](./configuration.md).
206
211
Additionally, custom components can be created by placing [`.handlebars`](https://handlebarsjs.com/guide/)
207
212
files in `sqlpage/templates`. [Example](./sqlpage/templates/card.handlebars).
208
213
214
+
### HTTPS
215
+
216
+
SQLPage supports HTTP/2 and HTTPS natively and transparently.
217
+
Just set `SQLPAGE_HTTPS_DOMAIN=example.com`, and SQLPage
218
+
will automatically request a trusted certificate and
219
+
start encrypting all your user's traffic with it.
220
+
No tedious manual configuration for you,
221
+
and no annoying "Connection is Not Secure" messages for your users !
222
+
209
223
## Serverless
210
224
211
225
You can run SQLpage [serverless](https://en.wikipedia.org/wiki/Serverless_computing)
0 commit comments