Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Proposal] Updating VBox box version #300

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@ gem 'haml-rails', '~> 1.0'
# Use jQuery for nicer JS and more browser compatability
gem 'jquery-rails', '~> 4.3.1'

# Use nokogiri for schedule parsing (not used any more)
gem 'nokogiri', '~> 1.10.4'

# Rails observers were removed from Rails core in 4.0, these are used for model
# life-cycle callbacks (after_save, before_create, etc.)
gem 'rails-observers', '~> 0.1.5'
Expand Down
3 changes: 0 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,6 @@ GEM
net-scp (2.0.0)
net-ssh (>= 2.6.5, < 6.0.0)
net-ssh (5.2.0)
nokogiri (1.10.4)
mini_portile2 (~> 2.4.0)
pr_geohash (1.0.0)
rack (1.6.12)
rack-attack (6.6.1)
Expand Down Expand Up @@ -308,7 +306,6 @@ DEPENDENCIES
haml-rails (~> 1.0)
jquery-rails (~> 4.3.1)
mysql2 (~> 0.4.0)
nokogiri (~> 1.10.4)
rack-attack (~> 6.2, >= 6.2.2)
rails (= 4.2.11.1)
rails-erd (~> 1.5)
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
9. `bundle exec rails s -b 0`
10. On your host machine, visit `localhost:3000`


### [May 2023] Changes to enable development
This branch is a working development branch with several changes to dependencies and the Vagrant development box. **This branch is not intended for merging into production.**

### Under the hood

This setup uses a Debian 9 (stretch) virtual machine, running on VirtualBox
Expand Down
7 changes: 5 additions & 2 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "debian/contrib-stretch64"
config.vm.box = "debian/buster64"

# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine.
Expand All @@ -14,6 +14,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provider :virtualbox do |vb|
# Don't boot with headless mode
vb.gui = false

# Allocate more memory
vb.memory = 1024
vb.cpus = 2
end

# Root-level bootstrap
Expand All @@ -28,7 +32,6 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
curl \
gnupg \
dirmngr \
openjdk-8-jre-headless \
screen \
vim \
git \
Expand Down