diff --git a/.gitignore b/.gitignore index 0d5cdf0..711675a 100644 --- a/.gitignore +++ b/.gitignore @@ -64,3 +64,15 @@ typings/ #session whatsappwebjs json file whatsapp-web.js/session.json + +# ignore file in the generated website section +website-generator/public/pages/* + +# ignore ejs.html files +website-generator/public/templates/*/*.ejs.html + +# Not IPFS file in the direcotry +!website-generator/public/pages/ipfs-deploy.sh + + + diff --git a/README.md b/README.md index ce32cd3..520844a 100644 --- a/README.md +++ b/README.md @@ -50,5 +50,8 @@ You need to start both website-generator and whatsapp-bot. ### Contributors -1. Akilan Selvacoumar : as251@hw.ac.uk -2. Gaurav Gosain : gg68@hw.ac.uk +1. Akilan Selvacoumar: akilan@hwtech.club (https://akilan.io) +2. Gaurav Gosain: gg68@hw.ac.uk +3. Nicole Tobe: https://github.com/tobenxe +4. Humaid AlQassimi: me@humaidq.ae(https://humaidq.ae) + (Website generator based on: https://humaidq.ae/projects/shopsheet/) diff --git a/website-generator/app/controllers/home.js b/website-generator/app/controllers/home.js index 412aef4..3819524 100644 --- a/website-generator/app/controllers/home.js +++ b/website-generator/app/controllers/home.js @@ -24,8 +24,6 @@ exports.generate = function (req, res) { //we can now manipulate the data let result = req.body.companyName; - //console.log(req.body); - let dir = './public/pages/' + req.body.companyName; if (!fs.existsSync(dir)) { @@ -100,12 +98,10 @@ exports.deploy_ipfs = function (req, res) { } exports.convertCsv = function (req, res, next) { - console.log(req.body); const csvStr = req.body.csv; csv() .fromString(csvStr) .then((jsonObj) => { - console.log(jsonObj) req.body.csv = jsonObj; //delete file at path next() diff --git a/website-generator/public/templates/Colo_Shop/cart.ejs b/website-generator/public/templates/Colo_Shop/cart.ejs index 77d4a49..1661e6e 100644 --- a/website-generator/public/templates/Colo_Shop/cart.ejs +++ b/website-generator/public/templates/Colo_Shop/cart.ejs @@ -117,9 +117,9 @@
Loldfsdf sdfsdsdsfsd sd fsdrs d sdf