6D65 / shovelleros

1 stars 0 forks source link

Vagrant box doesn't work #3

Closed countgizmo closed 4 years ago

countgizmo commented 9 years ago

After adding the box and doing vagrant init cocosdev I run vagrant up and then get this message back multiple times until it times out: default: Warning: Authentication failure. Retrying...

6D65 commented 9 years ago

That's an issue with Vagrant. For whatever reason when creating a box based on a precise32 box, the authentication is broken. The solution would be to clone the shovellerosdev which is another box based on the cocosdev box(and has the fix for this), during its deployment it will clone the shovellers repo.

git clone https://github.com/6D65/shovellerosdev.git
cd shovellerosdev
vagrant up

To start the shovelleros game, you would want to ssh into the shovellerosdev machine, and start the game server.

vagrant ssh
cd /vargrant/shovelleros
cocos run -p web --host 0.0.0.0

then browse from the local machine to localhost:8080, the local repo of the shovelleros will be available from the shovellerosdev folder, an can be worked/commited from the host machine.

- shovellerosdev
  - shovelleros // The shovelleros repo cloned by the vagrant build script

It's very important to keep the cocosdev image, since the shovellerosdev is based on it.

6D65 commented 9 years ago

Updated the shovellers repo with the latest bootstrap script, everything should work now.