Giter Site home page Giter Site logo

vmmaster's Introduction

vmmaster

Build Status Coverage

dependencies:

  • tox
  • postgresql

install

manual

run vmmaster

user@machine: chmod +x install_dependencies.sh
user@machine: ./install_dependencies.sh
user@machine: sudo pip install tox
user@machine: tox
user@machine: mv ./config_template.py config.py
user@machine: sudo .tox/bin/python manage.py init
user@machine: .tox/bin/python manage.py migrations
user@machine: .tox/bin/python manage.py runserver

commands to create qcow2 VM's origins

create qcow2 drive

qemu-img create -f qcow2 -o preallocation=metadata ubuntu-13.04-x64-origin.qcow2 8G

install ubuntu from iso

sudo virt-install --connect=qemu:///system --name ubuntu-13.04-x64-origin --network=bridge:virbr0 --ram 2048 --vcpus 2 --disk path=$VMMASTER_HOME/origins/ubuntu-13.04-x64/drive.qcow2,format=qcow2,bus=virtio,cache=none --cdrom $ISO_PLACE/ubuntu-13.04-desktop-amd64.iso --vnc --accelerate --os-type=linux --os-variant=generic26 --hvm

generate settings.xml

TODO

development

environment

pip install -r requirements-dev.txt ./install-hooks.sh

linting

  • .tox/bin/flake8 vmmaster/ tests/

unittests with coverage

  • .tox/bin/coverage run --source=vmmaster,vmpool,core run_unittests.py
  • .tox/bin/coverage html
  • look for coverage/index.html

Documentation

More information

vmmaster's People

Contributors

nwlunatic avatar sh0ked avatar z00sts avatar

Watchers

 avatar  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.