Folders and files Name Name Last commit message
Last commit date
parent directory
View all files
This serves a backup for people to fail to use Docker on very "dedicated" platform
Do not use this box unless you have no choice !
Make sure your BIOS setting has hyper-V setting enabled
Building the Vagrant Enviornment
https://www.vagrantup.com/ , https://www.virtualbox.org/
clone this repo
Run cd 2020_s1/box_vagrant
Run vagrant plugin install vagrant-vbguest
to install the plugin to link vagrant with virtualbox
create a folder called app under 2020_s1/box_vagrant
Run vagrant up
to starts and provisions the vagrant environment
Run vagrant provision
to provisions the vagrant machine or if the step 1 fails to provision.
Accessing the Vagrant Environment
Run vagrant ssh
to ssh into the vagrant box
Run cd /app
to access the app directory
Run gem install rails -v 5.2.4.1
to install rails
Run rails _5.2.4.1_ new . --force --no-deps --database=postgresql
to install a fresh rails app
Run bundle install
to install all dependency gems
Run rails db:create
to create database
Run rails s -b 0.0.0.0 -p 3000
to run rails server
hit http://0.0.0.0:3000
Download Virtual Box https://www.virtualbox.org/
Clone this repo
Download the image from https://tinyurl.com/snt2z8z
Import RAD2020.ova through VB (Do not create)
Start RAD2020
password: 123456
docker
docker-compose run --rm --service-port web bash
rails s -b 0.0.0.0
exit
docker-compose down
vagrant
vagrant up
vagrant provision
vagrant ssh
vagrant halt
sudo /Library/Application\ Support/VirtualBox/LaunchDaemons/VirtualBoxStartup.sh restart
sudo launchctl load /Library/LaunchDaemons/org.virtualbox.startup.plist
System Preferences > Security & Privacy > Privacy > Full Disk Access
Command-Shift-G.
/sbin/nfsd
System Preferences > Security & Privacy > Privacy > Grant Vagrant Kext
You can’t perform that action at this time.