|
há 8 anos atrás | |
---|---|---|
config | há 8 anos atrás | |
frontend | há 8 anos atrás | |
lib | há 8 anos atrás | |
migrations | há 8 anos atrás | |
models | há 8 anos atrás | |
routes | há 8 anos atrás | |
test | há 8 anos atrás | |
.gitignore | há 8 anos atrás | |
DOCUMENTATION.md | há 8 anos atrás | |
LICENSE | há 8 anos atrás | |
Procfile | há 8 anos atrás | |
README.md | há 8 anos atrás | |
package-lock.json | há 8 anos atrás | |
package.json | há 8 anos atrás | |
server.js | há 8 anos atrás |
Simple and beautiful forum software - created using Express, Vue, and Sequelize.
To install on Heroku:
git clone https://github.com/sbkwgh/forum.git
heroku login
heroku git:remote -a <app-name>
heroku config:set NODE_ENV=production
heroku config:set SESSION_SECRET=<session-secret>
heroku config:set DATABASE_URL=<database-url>
cd frontend && npm install
npm run build
dist/
from .gitignore
cd .. && git add -A && git commit -m "Update .gitignore"
git push heroku master
N.B. the database here is assumed to be MySQL - to use Postgres or another you must install the corresponding driver on npm