- Pull Docker Image
docker pull bleenco/abstruse- Make directory on host where configuration and database will be stored (not mandatory)
mkdir ~/abstruse-config- Run Image
docker run -dit --restart always -v /var/run/docker.sock:/var/run/docker.sock -v ~/abstruse-config:/root/abstruse -p 6500:6500 bleenco/abstruseNote that we are exposing hosts /var/run/docker.sock to abstruse image. This is the only way you persist native docker performance.
All builds or jobs will actually run on the host.
You could also not expose /var/run/docker.sock to abstruse but performance will not be as it should be. At least we couldn't find appropriate
storage-driver or storage-driver combination that this will run with good performance. This will actually run docker-in-docker and please try to avoid
this while using abstruse docker image.
- Open Application
Run your favorite Chrome browser and navigate to http://localhost:6500. You should see abstruse setup page which will guide you
throught the initial setup.
Abstruse is intended to work on amd64 architectures, however, if you're willing to install abstruse on a rasp, odroid or any other kind of computer you have to tweak Dockerfile to target other architectures such as arm64 (aarch64) and so forth.
You can check this notes as a comments on https://github.com/bleenco/abstruse/blob/master/Dockerfile
Note: This requires node version >= 6.x.x installed on your host. We advise you that you run latest version of node.
$ npm install abstruse -gAfter the installation, running a server is as easy as running the following command:
$ abstrusegit clone https://github.com/bleenco/abstruse.git
cd abstruse
npm installThen open two terminal instances and in the first run:
npm run dev # this compiles and run APIin the second instance run:
npm start # this will build UI part of the application and open browser at http://localhost:8000After you got everything up and running, you can trigger some test builds that are stored in tests/dev-scripts/, i.e.
node ./tests/dev-scripts/push-d3.js