Giter Club home page Giter Club logo

manageiq-vagrant-dev's Introduction

manageiq-vagrant-dev

Vagrantfile and scripts to start a developer environment for ManageIQ Vagrant.

Introduction

The script is currently designed in the following way:

  • Your should clone the environment into an empty directory with all the scripts in it (i.e. ~/Vagrant/manageiq-vagrant-dev)
  • The script makes some suppositions
    • Vagrant is installed
    • Ansible is installed in your host machine
    • Virtualbox or other virtualization solution is installed

The process

The Vagrant file will create a VM using fedora31-cloud as a basis and proceed to configure it for development:

  • Configure the VM with 6 GB and 2 CPU
  • Open port 3000 for UI management
  • Open port 4000 for API management
  • Copy the contents of ~/workspace/manageiq to /manageiq inside the appliance
  • Install python (needed by Ansible) so the Ansible playbook.yml can be run
  • Configure the OS and install everything needed for development
  • Configure the database, start and enable it and add the user needed
  • Configure rbenv and install ruby 2.6.5
  • Verify if reboot is necessary and then reboot the machine

Limitations

It won't run bin/setup to download the gems and run the database migration, so you can test them. It won't execute bin/rails evm:start to start the service that you will find in localhost:3000 Synchronization is only done once because the strategy is rsync (you need to call vagrant rsync to resynchronize)

Adapting the Vagrantfile

  • You can add additional folders to be synchronized
  • It is possible to use other synchronization strategies. Many of them allow bidirectional synchronization so you can see your changes in real time
  • You can change the resources in the VM

manageiq-vagrant-dev's People

Contributors

ailisp avatar alexbaranowski avatar chargio avatar fryguy avatar mend-bolt-for-github[bot] avatar miyamotoh avatar

Watchers

 avatar

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.