- NodeJS (version >= 6.10.1)
- AWS Access Key and AWS Secret Access Key
- MongoDB URI (i.e mLab)
- Invisible reCAPTCHA Public Key and Secret Key
- Gmail account (with "Allow Less Secure apps" and "Captcha Enable" enabled).
-
Create .env file with the following lines and your own info:
DATABASE_URI= Production database URI GMAIL_USERNAME= Gmail Username GMAIL_PASSWORD= Gmail Password AWS_ACCESS_KEY_ID= AWS Access Key AWS_SECRET_ACCESS_KEY= AWS Secret Acess Key RECAPTCHA_SECRET_KEY= reCAPTCHA Secret Key
-
Repalce the value of "data-sitekey" in /views/user/signup.pug, line 54 with your own reCAPTCHA Public Key.
-
npm install -g babel-cli mocha nodemon
-
npm install
-
Start server:
npm start
-
Go to
localhost:3000
Nguyen Thanh Trung
WTFPL - Do What the Fuck You Want To Public License