abhshkdz / HackFlowy

:notebook: Workflowy clone, built using Backbone.js & Socket.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Starting up HackFlowy

theicfire opened this issue · comments

I ran through the instructions, and when running node server.js, the program said it was listening on port 3000. I went there, and just got a blank page, with html that only had a js reference to require.js, and no other js files. What page should I start up to see hackflowy working?

This will probably be answered when I get the program running - but is zooming a feature?

Also experiencing this issue -- no way to input any text after starting the server.

What dialect is specified in your config.js..

For me, I was using mysql to run my database.

Not until I changed dialect: 'sqlite' to dialect: 'mysql' could I see and input text.

I have 'mysql' specified as my dialect and I can't see or input text.

Confirm, I have the same issue. Trying to use mysql just hangs.

commented

Tested with mysql Ver 14.14 Distrib 5.5.38, for debian-linux-gnu (i686) using readline 6.2

With the latest changes #16 the install steps are as follow:

  • Edit config/database.json and config/development.json to define your database credentials. Create a user and database as appropriate.
  • Execute the migrations to create the needed tables ./node_modules/sequelize/bin/sequelize -m --config config/database.json
  • Insert dummy data with node db/seed/initial_tasks.js. There is an issue which prevents user input when there are no tasks listed, so you have to create this dummy data.
  • Run the server with node server.js

Here are my configurations:

$ cat config/database.json
{
  "development": {
     "username": "root",
      "password": "",
      "database": "hackflowy",
      "host"    : "localhost",
      "dialect" : "mysql"
  },
  "test": {
    "dialect": "sqlite",
    "storage": "db/test.sqlite"
  },
  "production": {
      "username": "postgres",
      "password": "",
      "database": "hackflowy",
      "host"    : "localhost",
      "dialect" : "postgres"
  }
}
$ cat config/development.json
{
    "port": 3000,
    "database": {
        "username": "root",
        "password": "",
        "database": "hackflowy",
        "options" : {
            "dialect": "mysql",
            "host"   : "localhost"
        }
    }
}

Hope that helps!