-
Notifications
You must be signed in to change notification settings - Fork 231
Development
Faktory's main target is 64-bit Linux. There are two Vagrant setups in build/{centos,ubuntu} for building your own Faktory binary. The Ubuntu image is modern 16.04, the CentOS image is old 6.9.
- Clone this repo locally:
git clone https://github.com/contribsys/faktory
- Install VirtualBox or another platform supported by Vagrant.
- Run
cd faktory/build/{ubuntu,centos} && vagrant plugin install vagrant-vbguest && vagrant up
to install and start the box. - Run
vagrant ssh
to connect to the box. - Run the following commands to perform one-time setup:
cd /faktory/build
cd ubuntu # or centos
./setup.sh
This command will take about 10 minutes.
If all went well, your Faktory source will be mirrored in /faktory
. You can make changes in OSX and run make test
or make run
inside Vagrant to verify them.
Vagrant will forward the API and web ports to 17419 and 17420 on OSX. You can point your web browser to localhost:17420
to see the Web UI running on the Linux container in Vagrant. This makes it easy to make and see modifications to the Web UI. Unfortunately you will need to restart the server for every change you make as everything is compiled into the binary.
Faktory targets Go 1.9.x. Other versions might work but aren't tested. To build a local Faktory binary on OSX, these are the basic steps:
- Clone this repo locally:
git clone https://github.com/contribsys/faktory
- Install RocksDB
brew install rocksdb
- Run
make prepare
to download other Go dependencies - Run
make test
to execute the test suite to verify compilation. - Run
make build
to compile binaries.
Home | Installation | Getting Started Ruby | Job Errors | FAQ | Related Projects
This wiki is tracked by git and publicly editable. You are welcome to fix errors and typos. Any defacing or vandalism of content will result in your changes being reverted and you being blocked.