https://github.com/phyks/huginn-vagrant
Vagrantfile and additional files needed to bring Huginn up in a VirtualBox controlled by Vagrant
https://github.com/phyks/huginn-vagrant
Last synced: 3 months ago
JSON representation
Vagrantfile and additional files needed to bring Huginn up in a VirtualBox controlled by Vagrant
- Host: GitHub
- URL: https://github.com/phyks/huginn-vagrant
- Owner: Phyks
- Created: 2017-01-05T16:34:18.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-16T16:07:09.000Z (over 8 years ago)
- Last Synced: 2025-01-22T12:22:57.759Z (4 months ago)
- Language: Shell
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Huginn with Vagrant and VirtualBox
Based on instructions here:
https://github.com/cantino/huginn/blob/master/doc/manual/installation.md
**Setup Huginn under VirtualBox, with minimal configuration required.**
A working VirtualBox installation is a prerequisite, as well as Vagrant
(from vagrantup.com).## Testing
This repository is pulled to my server and test-compiled each day, so I hope
I will catch any problems due to up-stream changes in the Huginn project
itself. Email burns dot sj at gmail dot com if I missed anything or if you
find any other problems.## Guided Installation
If you know the settings you will use for your Huginn installation (such
as SMTP host, MySQL settings, etc) you can:- Clone this repository: `git clone https://github.com/m0nty/huginn-vagrant.git`
- Jump straight in with `./setup.sh` and follow the prompts. No attempt
is made to validate your input while you do this, but sensible defaults are
suggested for usernames, passwords, etc.
- Run `vagrant up` to provision your Huginn instance.## Manually Editing the Config Files
You do not need to do this if you successfully ran `./setup.sh` above. But,
if you prefer to edit the config files yourself or you need to correct a setting:- Clone this repository: `git clone https://github.com/m0nty/huginn-vagrant.git`
- Edit the `env` file, which will be copied to `/home/huginn/huginn/.env`
(look for the FIXME comments in the file to see what you need to adjust).
- Edit `provision.sh` and change the MySQL passwords for the root MySQL user and
the Huginn DB user (search for FIXME again).
- Edit the `Vagrantfile` if you want to change the virtual machine settings. I've
gone with `vb.memory = "1024"` which you might want to increase if you think
your Huginn is going to be busier.
- You might want to change the line `config.vm.box = "ubuntu/trusty64"` if your
PC can't run 64-bit images.
- Edit the `huginn` file if you want to change the listening address and port for
your Huginn instance.
- I don't think you need to change the Procfile, but you may as well check anyway.
- After that, run `vagrant up` to provision your Huginn instance.Please let me know if I've messed up in any way. I've got my Huginn instance working
now, and I'm delighted with it. I just wanted to help out if anyone else is having
problems with the other installation methods.## Using the host database
If you want to use the host database, you should remove the "Install the
database packages" and "Set up MySQL user" in the `provision.sh` script, and
run everything normally.You should use `10.0.2.2` as the MySQL host in your `env` configuration.
## To-do
I'll probably do a Dockerfile sometime, so you can create a docker instance yourself
without pulling the Huginn docker image.