To get started with intrigue-core using Vagrant, you’ll need to install Vagrant on your machine.
Next, pull down the intrigue-core repository to your local machine with a git clone and jump into the directory:
$ git clone https://github.com/intrigueio/intrigue-core $ cd intrigue-core
Then use Vagrant to pull down an image, start it and then provision it:
$ vagrant up
Finally, (this is pretty easy, huh?), ssh in, and start the intrigue-core service:
$ vagrant ssh vagrant$ rbenv sudo /core/util/control.sh start
This will start the intrigue-core service, giving you output that looks like the following (shortened for brevity):
Starting PostgreSQL 9.6 database server [ OK ] Starting redis-server: redis-server. Starting intrigue-core processes [+] Setup initiated! [+] Generating system password: hwphqlymmpfrqurv [+] Copying puma config.... [ ] File already exists, skipping: /core/config/puma.rb * Listening on tcp://0.0.0.0:7777 Use Ctrl-C to stop
As it starts up, you can see that it generates a unique password. You can now log in with the username intrigue and the password above at http://localhost:7777 on your host machine!
- URI: http://localhost:7777
- Username: intrigue
- Password: [generated on startup, see above]
YES! Now that we’re started, let’s get up and running with Intrigue-core