Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ousenko/simple-contact-form

Simple contact form for a static website
https://github.com/ousenko/simple-contact-form

Last synced: 5 days ago
JSON representation

Simple contact form for a static website

Awesome Lists containing this project

README

        

Simple contact form processing
----------------------------------

You have a static website (e.g. Jekyll), and wanna give your visitors the ability to reach you, huh?
No problem!

All we need is [Mandrill](http://mandrillapp.com) and [Heroku](http://heroku.com) accounts, and a bit of python to get it work.

0. Assumptions
--------------------

You have:

* Heroku toolbelt installed
* Active Mandrill account and API KEY

1. Create a heroku web app
---------------------

```bash
$ git clone https://github.com/ousenko/simple-contact-form.git
$ heroku create
$ heroku config:set MANDRILL_API_KEY=
$ heroku config:set USER_EMAIL=
$ heroku config:set USER_SITE=
$ heroku config:set SUCCESS_PAGE=
```

2. Front-end setup
-------------------

In your form html code specify the following:

```html

Email:

Name:

Subject:

Message:


```

3. Enjoy
----------

Don't forget to star this repo! ;)