git 테스트

sbkwgh 103eeb8989 Update model and routes to use setShowDescription param/column 8 年 前
config 97c664e75d Prepare for use in heroku/production 8 年 前
frontend 480585d37f Remove setForumName and setForumDescription with generic setSettings commits 8 年 前
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 8 年 前
migrations 8194bf12f2 Add migration for new showDescriptions setting 8 年 前
models 103eeb8989 Update model and routes to use setShowDescription param/column 8 年 前
routes 103eeb8989 Update model and routes to use setShowDescription param/column 8 年 前
test 07a56dbce8 Add hasVoted parameter 8 年 前
.gitignore eefebb5978 Merge branch 'frontend' 8 年 前
DOCUMENTATION.md 6a0cdc7a07 Update README, move (totally incomplete) documentation to its own file 8 年 前
LICENSE 2e15a2ca14 Create LICENSE 8 年 前
Procfile 97c664e75d Prepare for use in heroku/production 8 年 前
README.md 6a0cdc7a07 Update README, move (totally incomplete) documentation to its own file 8 年 前
package-lock.json fbf022a0b3 Set up app for production - add compression and serve front end from own server 8 年 前
package.json 97c664e75d Prepare for use in heroku/production 8 年 前
server.js 3d5091d59d Remove backup stuff and move to its own branch (backup) 8 年 前

README.md

Vue Forum

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

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