1
0
mirror of https://github.com/jcwimer/railsVagrant synced 2026-03-24 18:44:42 +00:00

Fixed line endings to unix

This commit is contained in:
2017-03-25 00:41:41 +00:00
parent f1dd76fccd
commit 744418db86
6 changed files with 31 additions and 31 deletions

2
.gitignore vendored
View File

@@ -1,2 +1,2 @@
work/* work/*
.vagrant/ .vagrant/

View File

@@ -1,6 +1,6 @@
# railsVagrant # railsVagrant
Ubuntu 14.04 vagrant template for rails development. Ubuntu 14.04 vagrant template for rails development.
To use, do the following: To use, do the following:
* Run <tt>vagrant up</tt> * Run <tt>vagrant up</tt>
* Run <tt>vagrant ssh</tt> * Run <tt>vagrant ssh</tt>

30
Vagrantfile vendored
View File

@@ -1,15 +1,15 @@
Vagrant.configure("2") do |config| Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64" config.vm.box = "ubuntu/trusty64"
config.vm.network "public_network" config.vm.network "public_network"
config.vm.network "private_network", ip: "192.168.254.2" config.vm.network "private_network", ip: "192.168.254.2"
config.vm.provision :shell, path: "setup/build.sh" config.vm.provision :shell, path: "setup/build.sh"
config.vm.provision :shell, path: "setup/rvm-install.sh", args: "stable", privileged: false config.vm.provision :shell, path: "setup/rvm-install.sh", args: "stable", privileged: false
config.vm.provision :shell, path: "setup/ruby-install.sh", args: "2.4.0 rails", privileged: false config.vm.provision :shell, path: "setup/ruby-install.sh", args: "2.4.0 rails", privileged: false
config.vm.provision :shell, path: "setup/nvm-install.sh", privileged: false config.vm.provision :shell, path: "setup/nvm-install.sh", privileged: false
config.vm.provision :shell, path: "setup/other-user-setup.sh", privileged: false config.vm.provision :shell, path: "setup/other-user-setup.sh", privileged: false
config.vm.provider "virtualbox" do |v| config.vm.provider "virtualbox" do |v|
v.memory = 2048 v.memory = 2048
v.cpus = 2 v.cpus = 2
v.name = "developer" v.name = "developer"
end end
end end

View File

@@ -1,8 +1,8 @@
For Windows: For Windows:
1. Install GIT 1. Install GIT
2. Open CMD and run: setx PATH=%PATH%;C:\Program Files (x86)\Git\bin 2. Open CMD and run: setx PATH=%PATH%;C:\Program Files (x86)\Git\bin
3. Install Virtualbox 3. Install Virtualbox
4. Instal Vagrant 4. Instal Vagrant
5. Open CMD and navigate to railsVagrant folder 5. Open CMD and navigate to railsVagrant folder
6. From CMD run vagrant up 6. From CMD run vagrant up
7. Run vagrant ssh 7. Run vagrant ssh

View File

@@ -3,8 +3,8 @@ apt-get update
apt-get install software-properties-common python-software-properties curl git -y apt-get install software-properties-common python-software-properties curl git -y
add-apt-repository ppa:ondrej/php -y add-apt-repository ppa:ondrej/php -y
apt-get update apt-get update
apt-get install php7.1 php7.1-common apt-get install php7.1 php7.1-common -y
apt-get install php7.1-curl php7.1-xml php7.1-zip php7.1-gd php7.1-mysql php7.1-mbstring apt-get install php7.1-curl php7.1-xml php7.1-zip php7.1-gd php7.1-mysql php7.1-mbstring -y
wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh wget -qO- https://toolbelt.heroku.com/install-ubuntu.sh | sh
#Docker install #Docker install

View File

@@ -1,3 +1,3 @@
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash
source ~/.bashrc source $HOME/.nvm/nvm.sh
nvm install node nvm install node