Install Huginn
-
Clone the repo
$ git clone git@github.com:cantino/huginn.git $ cd huginn
-
Install rake and bundle (if necesssary):
$ gem install rake bundle
-
Install Huginn's dependencies
$ bundle install
-
Install MySQL
-
Start the MySQL server:
$ mysql.server start
-
Copy .env.example to .env:
$ cp .env.example .env
-
Create the
APP_SECRET_TOKEN
:$ rake secret
-
Edit .env, at least updating the
APP_SECRET_TOKEN
variable we just created. -
Create a development MySQL database with some example seed data:
$ rake db:create $ rake db:migrate $ rake db:seed
-
All done. Fire up the local server:
$ foreman start
Navigate to http://localhost:3000/ and login with the username and the password of "admin" and "password", respectively.
Thanks @dennyabraham! You're right. Another error is that
mysql.server start
is not a valid command. Users coming to this gist can try executingsudo service mysql status
to see that MySQL is likely already running.