mirror of
https://github.com/wassname/HackFlowy.git
synced 2026-06-27 16:00:04 +08:00
b4d3eab02c88c941e506153545335cae07f0cb36
Add foreman configuration for Heroku: - To test production configuration execute NODE_ENV=production foreman start - Database connection configuration now handles "use_env_variable" which should be defined as a environment variable such as "DATABASE_URL" with a proper database URI connection string, ie: postgres://user:password@db.example.com:5432/database - Added package.json configuration to run migrations and db seed after `npm install` Update frontend models to match sequelize definition. Update views to work according to the changes above. Handling isCompleted and parentId apropiately for PostgreSQL databases
#HackFlowy
An open-source Workflowy clone.
##Installation
- Edit
config/development.jsonto your needs npm install- Run migrations and initialize the database:
sequelize-cli -m --config config/database.jsonandnode db/seed/initial_tasks.js node server.js
##Heroku deploy
- heroku create --stack cedar
- git remote add heroku URL from above
- git push heroku master
##Controls
- UP & DOWN: navigate through tasks
- TAB: right-indent
- SHIFT + TAB: left-indent
##Technologies used
- Node + Socket.io
- Backbone
- Foundation
##To-do
Work on sub-lists. The parent id of the Backbone task model has to be set for it to be saved properly. The template should be modified to have thechildrenul as part of every task.- Search & Tags
- Themes
Feel free to try it out and contribute.
Description
Languages
CSS
74.5%
SCSS
13.2%
JavaScript
10.2%
HTML
1.8%
Ruby
0.3%
