From 7390b8ec589e6b6f76333d44468a731efe865438 Mon Sep 17 00:00:00 2001
From: albadrun <ra.giel1998@gmail.com>
Date: Wed, 31 Jul 2019 00:35:55 +0700
Subject: [PATCH] Update README and info

---
 backend/.gitignore        |  1 +
 backend/README.md         | 15 ++++++++++++++-
 backend/uploader/views.py |  2 +-
 3 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/backend/.gitignore b/backend/.gitignore
index 1905d4e..348df89 100644
--- a/backend/.gitignore
+++ b/backend/.gitignore
@@ -1,4 +1,5 @@
 __files__
+whitelist.json
 credentials.json
 
 # Created by https://www.gitignore.io/api/flask,visualstudiocode
diff --git a/backend/README.md b/backend/README.md
index b3bbb3d..064506c 100644
--- a/backend/README.md
+++ b/backend/README.md
@@ -44,7 +44,20 @@ db.createUser(
 ```
 
 6. Run `./start.sh`
-7. Don't forget to provide `credentials.json` in scraper folder
+7. Don't forget to provide `credentials.json` in scraper folder. Structure:
+
+```
+{
+    "<kd_org>": {
+        "username": "<username>",
+        "password": "<password>"
+    }
+}
+```
+
+### Volunteer Dashboard
+
+Coming soon.
 
 ## License
 
diff --git a/backend/uploader/views.py b/backend/uploader/views.py
index f4b8603..b9c7701 100644
--- a/backend/uploader/views.py
+++ b/backend/uploader/views.py
@@ -83,6 +83,6 @@ def upload(profile):
             file_.save(os.path.join(app.config["UPLOAD_FOLDER"], filename))
             return render_template("upload.html", info="Berhasil..!!")
 
-        return render_template("upload.html", info="Gagal. Cek format file atau hubungi admin.")
+        return render_template("upload.html", info="Gagal. Cek file atau hubungi admin.")
 
     return render_template("upload.html")
-- 
GitLab