Giter Club home page Giter Club logo

Comments (4)

ninjabear avatar ninjabear commented on June 18, 2024

We have an example of setting up vagrant for Java projects in the Snowplow Java tracker here.

from iab-spiders-and-robots-java-client.

v-ladynev-hfs avatar v-ladynev-hfs commented on June 18, 2024

I have added Vagrant support. Also I have added documentation here https://github.com/snowplow/iab-spiders-and-robots-java-client#quickstart

But, unfortunately, I can't check it properly. @ninjabear Could you check it, please?

I can use ubuntu/trusty32 only. After that, Vagrant could not connect to the virtual machine with the provided configuration.

I have changed it to:

config.vm.provider "virtualbox" do |vb|
   vb.name = Dir.pwd().split("/")[-1] + "-" + Time.now.to_f.to_i.to_s
   vb.customize [ "guestproperty", "set", :id, "--timesync-threshold", 10000 ]
    # Need a bit of memory for Java
    vb.memory = 2560 
 
    ### Change network card to PCnet-FAST III
    # For NAT adapter
    vb.customize ["modifyvm", :id, "--nictype1", "Am79C973"]
    # For host-only adapter
    vb.customize ["modifyvm", :id, "--nictype2", "Am79C973"]
  end

Vagrant could connect to the VM, but everything was freeze on

==> default: RUNNING PLAYBOOKS WITH ANSIBLE*
==> default: * no output while each playbook is running
==> default: ------------------------------------------
==> default: Setting up Ansible to run out of checkout...
==> default: 
==> default: PATH=/vagrant/vagrant/ansible/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
==> default: PYTHONPATH=/vagrant/vagrant/ansible/lib:
==> default: ANSIBLE_LIBRARY=/vagrant/vagrant/ansible/library:/usr/share/ansible/
==> default: MANPATH=/vagrant/vagrant/ansible/docs/man:
==> default: 
==> default: Remember, you may wish to specify your host file with -i
==> default: 
==> default: Done!

I did this check on Ubuntu 16.10.

from iab-spiders-and-robots-java-client.

ninjabear avatar ninjabear commented on June 18, 2024

The vagrant set-up works fine!

from iab-spiders-and-robots-java-client.

v-ladynev-hfs avatar v-ladynev-hfs commented on June 18, 2024

@alexanderdean Probably, this issue can be closed.

from iab-spiders-and-robots-java-client.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.