Coder Social home page Coder Social logo

vagrantfile's Introduction

YunoHost Vagrantfile

Vagrantfile to use YunoHost boxes for Jessie/Wheezy, using the stable/testing/unstable releases.

Prerequisite

Install Vagrant and Virtualbox provider

apt-get install vagrant virtualbox

How use these yunohost boxes ?

  • Install Vagrant and the configure_networks plugin
vagrant plugin install configure_networks
  • Add prebuild YunoHost boxes in vagrant
vagrant box add yunohost/jessie-unstable https://build.yunohost.org/yunohost-unstable.box
vagrant box add yunohost/stretch-unstable https://build.yunohost.org/yunohost-stretch-unstable.box
  • Download the main Vagrant file
wget https://raw.githubusercontent.com/Yunohost/yunohost-vagrant/master/Vagrantfile
  • Run the box you need by calling vagrant up DISTRIB, example:
vagrant up unstable
  • DISTRIB: unstable and stretch-unstable.

Associated ip

To test on your computer, add this lines to your /etc/hosts .

192.168.33.82 ynh.local
192.168.33.82 ynh-stretch.local

VMs have different ip to be able to run twice. You can put your own domain name and change the ip in the vagrant file.

Don't forget to run postinstall

After doing vagrant ssh run the postinstall by cli or into your browser

CLI

vagrant ssh stable
sudo yunohost tools postinstall -d ynh.local -p myAdminPassword

Browser

Go to the coresponding domain in your browser and follow the instructions.

How build these boxes yourself instead of using prebuild boxes ?

See README.md file in the prebuild folder.

vagrantfile's People

Contributors

alexaubin avatar opi avatar psycojoker avatar rokaz avatar zamentur 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.