The only requirement to build Rabble is to have docker installed.
Run run_build.sh
and the output binaries will be written to a build_out
directory.
There are a few parameters you can use to configure your Rabble instance.
To change these options set the corresponding environment variable when running
run_build.sh
. Unset values have sensible defaults.
RABBLE_SEARCH_TYPE
:
RABBLE_FOLLOW_RECOMMENDER_METHOD
:
RABBLE_POSTS_RECOMMENDER_METHOD
:
After doing a build you can run Rabble by executing the start.sh
script.
Docker and docker-compose are both requried.
NOTE: If you have made changes to a microservice it will only be rebuilt if its
context directory changes. To manually rebuild run
docker-compose build --no-cache <service_name>
To add a new microservice follow these steps:
build_container/Dockerfile
build_container/build.sh
docker-compose.yml
To run Rabble on a production server, first go and edit your configs.
Config Path | Description |
---|---|
containers/gen_first_config.sh |
Build Environment Variables |
chump/rabble_config.js |
Frontend constants |
The most important environment variables to change are:
gen_first_config.sh
- this should be the domain of the your instanceTo set up continuous integration, read the redeploy instructions