make faq and rules not a ".example" file anymore, because they never get moved or updated properly by lazy admins. so now they will always exist and get updated when they git pull/merge

merge-requests/346/merge
Thomas Lynch 3 years ago
parent 29ac58038f
commit fc96c0ebb2
  1. 1
      .gitignore
  2. 6
      README.md
  3. 0
      views/custompages/faq.pug
  4. 0
      views/custompages/rules.pug

1
.gitignore vendored

@ -4,7 +4,6 @@ configs/*.json
configs/*.js
static/*
gulp/res/js/socket.io.js
views/custompages/*.pug
/gulp/res/css/codethemes
gulp/res/css/locals.css
gulp/res/css/custom.css

@ -121,9 +121,9 @@ Also included is an "nginx_advanced" config, and a snippets folder for advanced
# copy example secrets file and edit it to fill out the details
$ cp configs/secrets.js.example configs/secrets.js && editor configs/secrets.js
# copy example custompages for rules and faq and edit
$ cp views/custompages/faq.pug.example views/custompages/faq.pug
$ cp views/custompages/rules.pug.example views/custompages/rules.pug
# edit rules and faq pages if desired:
$ editor views/custompages/faq.pug views/custompages/rules.pug
# you can also add more .pug files in that folder with the same general format to create other custom pages
# install dependencies and run build tasks
$ npm install

Loading…
Cancel
Save