git 테스트

sbkwgh adadfbf1db Allow null in validation, thereby removing the profile picture vor 7 Jahren
config 97c664e75d Prepare for use in heroku/production vor 8 Jahren
frontend 84b04598f8 Add loading overlay vor 7 Jahren
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 vor 8 Jahren
migrations 553e3d8a72 Use long data type to allow larger pictures vor 7 Jahren
models adadfbf1db Allow null in validation, thereby removing the profile picture vor 7 Jahren
routes 65910ef0c3 Add attrbiute 'picture' to includes, use TEXT rather than STRING data type vor 7 Jahren
test cebb4dba3b Add picture to model field, and add route and tests for this vor 7 Jahren
.gitignore eefebb5978 Merge branch 'frontend' vor 8 Jahren
DOCUMENTATION.md 6a0cdc7a07 Update README, move (totally incomplete) documentation to its own file vor 8 Jahren
LICENSE 2e15a2ca14 Create LICENSE vor 8 Jahren
Procfile 97c664e75d Prepare for use in heroku/production vor 8 Jahren
README.md 61f4b00160 Add image/screenshot vor 8 Jahren
package-lock.json 5e579995ba Update package.json vor 8 Jahren
package.json 5e579995ba Update package.json vor 8 Jahren
server.js ad3c4119ad Set higher maximum request payload (5mb) vor 7 Jahren

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