minor mods

This commit is contained in:
cws 2020-02-02 13:08:23 +01:00
parent aac4ed731b
commit 2224841564

View file

@ -31,11 +31,14 @@ EMAIL_FROM = noreply@your-blog.com
EMAIL_TO = your@email.com EMAIL_TO = your@email.com
``` ```
Additionally, you can add a port vairable `PORT = `, if you want to change thedefault port `7000` to something else.
## Usage ## Usage
``` ```
$ node ghost-contact-svc.js $ node ghost-contact-svc.js
``` ```
You should see the message `Listening on http://localhost:7000`.
## Test Locally ## Test Locally
@ -47,5 +50,3 @@ $ node ghost-contact-svc.js
- use a systemd unit to run `ghost-contact-svc.js` as a deamon - use a systemd unit to run `ghost-contact-svc.js` as a deamon
- configure your webserver to map endpoint `http://localhost:7000/` to a public endpoint, e.g. `https://api.your-blog.com/` - configure your webserver to map endpoint `http://localhost:7000/` to a public endpoint, e.g. `https://api.your-blog.com/`
- Use the files in folder `ghost-admin` to configure your front-end - Use the files in folder `ghost-admin` to configure your front-end
-