Skip to content

Commit 8a875ca

Browse files
authored
docs(readme): Add step for configuring the database (#88)
1 parent d6cafa6 commit 8a875ca

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,16 @@ You can deploy the PHP files on any website server with PHP installed or as a He
9191
3. On the page that comes up, click **"Deploy App"** at the end of the form
9292
4. Once the app is deployed, click **"Manage App"** to go to the dashboard
9393
5. Scroll down to the **Domains** section in the settings to find the URL you will use in place of `readme-typing-svg.herokuapp.com`
94+
6. [Optional] To use Google fonts or other custom fonts, you will need to configure the database. The login credentials for the database can be found by clicking the PostgreSQL add-on and going to Settings. The following is the definition for the `fonts` table that needs to be created.
95+
96+
```sql
97+
CREATE TABLE fonts (
98+
"family" varchar(50) NOT NULL,
99+
css varchar(1200000) NOT NULL,
100+
fetch_date date NOT NULL,
101+
CONSTRAINT fonts_pkey PRIMARY KEY (family)
102+
);
103+
```
94104

95105
## 🤗 Contributing
96106

0 commit comments

Comments
 (0)