git 테스트

sbkwgh eab3158c44 Add delete thread route and corresponding tests před 7 roky
config 97c664e75d Prepare for use in heroku/production před 8 roky
frontend 15602c3c8b Add 404 page also for user pages před 7 roky
lib df0a8eea88 Try to fix socket.io bug - still doesn't work but code in place for what *should* work (i.e. reloading the session in socket.io when users sends login message před 8 roky
migrations ab68e83f94 Use utf8mb4 encoding před 8 roky
models 39b42286df Enable utf-8 encoding for emojis etc, and add corresponding test for posts před 8 roky
routes eab3158c44 Add delete thread route and corresponding tests před 7 roky
test eab3158c44 Add delete thread route and corresponding tests před 7 roky
.gitignore eefebb5978 Merge branch 'frontend' před 8 roky
DOCUMENTATION.md 6a0cdc7a07 Update README, move (totally incomplete) documentation to its own file před 8 roky
LICENSE 2e15a2ca14 Create LICENSE před 8 roky
Procfile 97c664e75d Prepare for use in heroku/production před 8 roky
README.md 61f4b00160 Add image/screenshot před 8 roky
package-lock.json 5e579995ba Update package.json před 8 roky
package.json 5e579995ba Update package.json před 8 roky
server.js 3d5091d59d Remove backup stuff and move to its own branch (backup) před 8 roky

README.md

Vue Forum

Simple and beautiful forum software - created using Express, Vue, and Sequelize.

forum-screenshot

To install on Heroku:

  1. git clone https://github.com/sbkwgh/forum.git
  2. heroku login
  3. heroku git:remote -a <app-name>
  4. heroku config:set NODE_ENV=production
  5. heroku config:set SESSION_SECRET=<session-secret>
  6. Add database add-on, get database URL
  7. heroku config:set DATABASE_URL=<database-url>
  8. cd frontend && npm install
  9. npm run build
  10. Remove the line dist/ from .gitignore
  11. cd .. && git add -A && git commit -m "Update .gitignore"
  12. git push heroku master
  13. Visit the URL of the app and complete the on-screen instructions

N.B. the database here is assumed to be MySQL - to use Postgres or another you must install the corresponding driver on npm