INSTALL 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. Installation
  2. 1. Get the source
  3. Get the source code by running
  4. $ git clone https://git.freesoftwareextremist.com/bloat
  5. You can also download the latest source tarball from the URL
  6. "https://git.freesoftwareextremist.com/bloat/snapshot/bloat-master.tar.gz"
  7. 2. Build and install
  8. Install GO from your system's package manager or from https://golang.org/dl.
  9. Then run make to compile the source.
  10. $ make
  11. # make install
  12. This will perform a system wide installation of bloat. By default, it will
  13. install the binary in /usr/local/bin and data files in /usr/local/share/bloat.
  14. You can change these paths by editing the Makefile.
  15. 3. Edit the config file
  16. bloat looks for a file named bloat.conf in the working directory and
  17. /etc/bloat in that order. You can also specify another file by using the -f
  18. flag. Comments in the config file describe what each config value does. For
  19. most cases, you only need to change the value of "client_website".
  20. # cp bloat.gen.conf /etc/bloat.conf
  21. # $EDITOR /etc/bloat.conf
  22. 5. Run the binary
  23. $ bloat
  24. Now you should create an init script to automatically start bloat at system
  25. startup.
  26. Update
  27. Either run git pull to fetch the updated source or download the latest tarball
  28. from the URL mentioned in the installation step. Then run make to install the
  29. updated binary and data files
  30. $ git pull
  31. $ make
  32. # make install
  33. Note: Commands starting with # are to be is to run as root.