braveclojure / open-source

A site using re-frame, liberator, boot and more to display active github projects
http://open-source.braveclojure.com
28 stars 8 forks source link

Dev setup with Vagrant #5

Open hristoyankov opened 8 years ago

hristoyankov commented 8 years ago

Hi, Daniel! I'd really like to help you with this project, however, It took me quite some time to setup a dev environment to run the project and I was thinking - do you want to Vangrantify it? I saw you were using Vagrant for infrastructure and having it for dev env will make it even easier for others to hack on. I'd be glad to take this as a first assignment.

flyingmachine commented 8 years ago

Awesome, thanks for volunteering!

This is a good idea. I've got Vagrant set up so that you can at least run a server locally to test deployments, but that's not sufficient for development. I think it'd be great to have a nice Vagrant setup for local dev.

Just out of curiosity, what problems did you run into?

hristoyankov commented 8 years ago

Great!

I was missing sassc which could be installed from homebrew on my mac but on my Fedora PC I have to compile it from source. Also I had to install bower and run and run bower install resources/bower.json. Correct me if any of those steps were wrong?

It also took me some time googling an error only to find out that I need Java 8. So I'm thinking to update the README with some the requirements.

hristoyankov commented 8 years ago

Hi again! I saw you used ansible for infrastructure so I spent some time looking into it and created a Vagrant file for the dev setup. It has everything needed to develop open-source - Java8, boot, libsass & sassc, boot, npm and bower. The application starts successfully and I'm able to see the page, however, it looks like no information is obtained from the github project. I think it might be some networking issue with virtualbox since it starts successfully when I run it locally on my machine. I'm out of ideas so if you can give me a hint it would be great. You can check my work so far in the fork: https://github.com/hristoyankov/open-source

flyingmachine commented 8 years ago

Awesome, thanks for working on that! I'll have a look soon :)