فهرست منبع

Added docker note

Pouria Ezzati 8 سال پیش
والد
کامیت
e2c255b8d8
2فایلهای تغییر یافته به همراه8 افزوده شده و 0 حذف شده
  1. 2 0
      README.md
  2. 6 0
      docker-examples/server-config.example.js

+ 2 - 0
README.md

@@ -50,6 +50,8 @@ You need to have [Node.js](https://nodejs.org/) and [Neo4j](https://neo4j.com/)
 5. Run for development: `npm run dev`.
 5. Run for development: `npm run dev`.
 6. Run for production: `npm run build` then `npm start`.
 6. Run for production: `npm run build` then `npm start`.
 
 
+**Docker:** You can use Docker to run the app. Read [docker-examples](/docker-examples) for more info.
+
 ## API
 ## API
 In additional to the website, you can use these APIs to create, delete and get URLs.
 In additional to the website, you can use these APIs to create, delete and get URLs.
 
 

+ 6 - 0
docker-examples/server-config.example.js

@@ -18,6 +18,12 @@ module.exports = {
   */
   */
   RECAPTCHA_SECRET_KEY: '',
   RECAPTCHA_SECRET_KEY: '',
 
 
+  /* 
+    Google Cloud API to prevent from users from submitting malware URLs.
+    Get it from https://developers.google.com/safe-browsing/v4/get-started
+  */
+  GOOGLE_SAFE_BROWSING_KEY: '',
+
   /*
   /*
     Your email host details to use to send verification emails.
     Your email host details to use to send verification emails.
     More info on http://nodemailer.com/
     More info on http://nodemailer.com/