diff --git a/.gitignore b/.gitignore index 04e5764..4ffd5f1 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ node_modules package.json package-lock.json assets/js/validate.min.js +assets/public diff --git a/README.md b/README.md index 7685610..7b1a8eb 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # ghost-contact-form -Contact Forms in Ghost — Without External Services +Add a beautiful, fully functional contact form to your Ghost blog or website without paying for external services. +Not running on Ghost? This solution also works with Gatsby, Hugo, Hexo, Nuxt and any other static site geberator. + +## Tutorial +- [Contact Forms in Ghost](https://atmolabs.org/contact-forms-in-ghost/) ## Prerequisites - A supported version of Node.js @@ -35,3 +39,12 @@ $ node ghost-contact-svc.js ## Test Locally [http://localhost:7000/v1/demo](http://localhost:7000/v1/demo) + +## Deploy (More detailed info in the tutorial) + +- copy the work folder `ghost-contact-form` to your server +- 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/` +- Use the files in folder `ghost-admin` to configure your front-end + +- \ No newline at end of file