kengz / aiva

AIVA (A.I. Virtual Assistant): General-purpose virtual assistant for developers.
http://kengz.me/aiva/
MIT License
822 stars 595 forks source link

Docker run... now what? #9

Closed llwp closed 8 years ago

llwp commented 8 years ago

Alright, ubuntu install got me maybe 90% of the way but as noted in previous issue: no joy (yet). So, a-docker-ing we go.

Got it online. Easy peasy.

But I end up in the /opt/aiva directory but nothing is there. Is the :latest version not ready any longer? How do I use this once it is running?

Thanks!

kengz commented 8 years ago

Hi, yes Docker has a lot of good resources out there.

Just to make sure, if you're on Macbook, you need to have the VM started. The full steps are listed here.

In steps:

  1. git clone YOUR FORK of this repo and cd into the project root
  2. docker pull kengz/aiva to pull the Docker image
  3. npm start (assuming your Docker machine is up)

For more commands please see here, might give you more insights.


As for the docker image, it mounts on the Docker data volume when u run the start command. You can only look inside the VM when it's started, via that same Bash session. See more here

Though, the Docker data volume syncs to the AIVA project folder root, from where you run the command npm start. So any file changes that happen on your host machine is sync with the mounted data volume in the VM.

Let me know if you get it working!