initial commit, database config working, pug template basic config, generated site working

This commit is contained in:
2020-01-04 15:44:11 -05:00
parent b4121ea146
commit 191e7e825a
16 changed files with 9209 additions and 0 deletions

11
database/drop-database.js Normal file
View File

@ -0,0 +1,11 @@
var con = require('./db');
con.connect(function(err) {
if (err) throw err;
console.log("Connected!");
con.query("DROP DATABASE unesco", function (err, result) {
if (err) throw err;
console.log('"unesco" Database dropped');
process.exit();
});
});