Compare commits
3 Commits
master
...
vagrant-te
Author | SHA1 | Date | |
---|---|---|---|
a670d9d15e | |||
8dc145875d | |||
4c797f915e |
1
.vagrant/bundler/global.sol
Normal file
1
.vagrant/bundler/global.sol
Normal file
@ -0,0 +1 @@
|
||||
{"dependencies":[["log4r",[">= 0"]],["concurrent-ruby",["~> 1.0"]],["i18n",[">= 0"]],["micromachine",[">= 2","< 4"]],["vagrant-vbguest",["= 0.30.0"]]],"checksum":"11b1b35cf79113cc49e78dfeea4aabc6746d1df7877ec4f5145f0b7b96ad3af1","vagrant_version":"2.2.18"}
|
1
.vagrant/machines/default/virtualbox/action_set_name
Normal file
1
.vagrant/machines/default/virtualbox/action_set_name
Normal file
@ -0,0 +1 @@
|
||||
1633592300
|
1
.vagrant/machines/default/virtualbox/box_meta
Normal file
1
.vagrant/machines/default/virtualbox/box_meta
Normal file
@ -0,0 +1 @@
|
||||
{"name":"ubuntu/xenial64","version":"20210804.0.0","provider":"virtualbox","directory":"boxes/ubuntu-VAGRANTSLASH-xenial64/20210804.0.0/virtualbox"}
|
1
.vagrant/machines/default/virtualbox/creator_uid
Normal file
1
.vagrant/machines/default/virtualbox/creator_uid
Normal file
@ -0,0 +1 @@
|
||||
501
|
1
.vagrant/machines/default/virtualbox/id
Normal file
1
.vagrant/machines/default/virtualbox/id
Normal file
@ -0,0 +1 @@
|
||||
f5f76f97-2f67-49df-83e1-835cbb87625e
|
1
.vagrant/machines/default/virtualbox/index_uuid
Normal file
1
.vagrant/machines/default/virtualbox/index_uuid
Normal file
@ -0,0 +1 @@
|
||||
cf5295e73d3d40e6a3647df3a5a41f89
|
1
.vagrant/machines/default/virtualbox/vagrant_cwd
Normal file
1
.vagrant/machines/default/virtualbox/vagrant_cwd
Normal file
@ -0,0 +1 @@
|
||||
/Users/cristi/work/git-projects/LINX/linx-simulator2
|
9
.vagrant/rgloader/loader.rb
Normal file
9
.vagrant/rgloader/loader.rb
Normal file
@ -0,0 +1,9 @@
|
||||
# This file loads the proper rgloader/loader.rb file that comes packaged
|
||||
# with Vagrant so that encoded files can properly run with Vagrant.
|
||||
|
||||
if ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"]
|
||||
require File.expand_path(
|
||||
"rgloader/loader", ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"])
|
||||
else
|
||||
raise "Encoded files can't be read outside of the Vagrant installer."
|
||||
end
|
@ -6,6 +6,7 @@ RUN apt-get install -y build-essential
|
||||
RUN apt-get install -y curl
|
||||
RUN apt-get install -y python-minimal
|
||||
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash
|
||||
|
||||
RUN apt-get install -y nodejs
|
||||
|
||||
WORKDIR /simulator
|
||||
|
28
Vagrantfile
vendored
28
Vagrantfile
vendored
@ -12,7 +12,7 @@ Vagrant.configure("2") do |config|
|
||||
|
||||
# Every Vagrant development environment requires a box. You can search for
|
||||
# boxes at https://vagrantcloud.com/search.
|
||||
config.vm.box = "bento/ubuntu-16.04"
|
||||
config.vm.box = "ubuntu/xenial64"
|
||||
|
||||
# Disable automatic box update checking. If you disable this, then
|
||||
# boxes will only be checked for updates when the user runs
|
||||
@ -47,6 +47,7 @@ Vagrant.configure("2") do |config|
|
||||
# the path on the guest to mount the folder. And the optional third
|
||||
# argument is a set of non-required options.
|
||||
# config.vm.synced_folder "../data", "/vagrant_data"
|
||||
config.vm.synced_folder ".", "/vagrant_data"
|
||||
|
||||
# Provider-specific configuration so you can fine-tune various
|
||||
# backing providers for Vagrant. These expose provider-specific options.
|
||||
@ -55,14 +56,14 @@ Vagrant.configure("2") do |config|
|
||||
config.vm.provider "virtualbox" do |vb|
|
||||
# Display the VirtualBox GUI when booting the machine
|
||||
# vb.gui = true
|
||||
vb.customize [
|
||||
"modifyvm", :id,
|
||||
"--audio", "coreaudio",
|
||||
"--audiocontroller", "hda"
|
||||
]
|
||||
# vb.customize [
|
||||
# "modifyvm", :id,
|
||||
# "--audio", "coreaudio",
|
||||
# "--audiocontroller", "hda"
|
||||
# ]
|
||||
|
||||
# Customize the amount of memory on the VM:
|
||||
vb.memory = "1024"
|
||||
vb.memory = "2024"
|
||||
end
|
||||
#
|
||||
# View the documentation for the provider you are using for more
|
||||
@ -75,5 +76,18 @@ Vagrant.configure("2") do |config|
|
||||
# apt-get update
|
||||
# apt-get install -y apache2
|
||||
# SHELL
|
||||
|
||||
# config.vm.provision "shell", inline: <<-SHELL
|
||||
# sudo apt-get update
|
||||
# sudo apt-get -y install dkms
|
||||
|
||||
# #https://wiki.ubuntu.com/Audio/UpgradingAlsa/DKMS
|
||||
# wget http://ppa.launchpad.net/ubuntu-audio-dev/alsa-daily/ubuntu/pool/main/o/oem-audio-hda-daily-dkms/oem-audio-hda-daily-dkms_0.201509251532~ubuntu14.04.1_all.deb
|
||||
# sudo dpkg -i oem-audio-hda-daily-dkms_0.201509251532~ubuntu14.04.1_all.deb
|
||||
# rm oem-audio-hda-daily-dkms_0.201509251532~ubuntu14.04.1_all.deb
|
||||
# sudo apt-get -y install python-dev ipython python-numpy python-matplotlib python-scipy cython alsa-utils paman
|
||||
# sudo usermod -a -G audio vagrant
|
||||
# SHELL
|
||||
|
||||
config.vm.provision "shell", path: "install.sh", privileged: true
|
||||
end
|
14
install.sh
14
install.sh
@ -5,10 +5,18 @@ apt-get -qq update
|
||||
apt-get install -y build-essential
|
||||
apt-get install -y curl
|
||||
apt-get install -y python-minimal
|
||||
curl -sL https://deb.nodesource.com/setup_8.x | bash
|
||||
apt-get install -y nodejs
|
||||
|
||||
# install node 8
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
|
||||
nvm install v8.17.0
|
||||
|
||||
# add node 8 for all users
|
||||
sudo ln -s "$NVM_DIR/versions/node/$(nvm version)/bin/node" "/usr/local/bin/node"
|
||||
sudo ln -s "$NVM_DIR/versions/node/$(nvm version)/bin/npm" "/usr/local/bin/npm"
|
||||
|
||||
sudo apt install -y alsa-utils
|
||||
sudo apt-get install -y libasound2-dev
|
||||
sudo npm i -g node-gyp
|
||||
|
||||
mkdir simulator
|
||||
# mkdir simulator
|
||||
# scp -P 2222 ./ vagrant@127.0.0.1:.
|
Loading…
Reference in New Issue
Block a user