-
-
Notifications
You must be signed in to change notification settings - Fork 556
Installation
Yusuke Endoh edited this page Apr 15, 2024
·
35 revisions
NOTE: The contents of this page are very likely obsolete.
Feel free to add your experience!
- Make sure Vagrant and VirtualBox are installed.
- Checkout the project.
- In its root folder create a
Vagrantfile
with these contents:
require_relative 'src/code-gen.rb'
Vagrant.configure("2") do |config|
config.vm.box = "raring32"
config.vm.box_url = "http://cloud-images.ubuntu.com/vagrant/raring/current/raring-server-cloudimg-i386-vagrant-disk1.box"
config.vm.provision :shell, :inline => "
echo 'golang-go golang-go/dashboard boolean true' > preseed.conf
sudo debconf-set-selections preseed.conf
"
apts = CodeGen::List.reverse.flat_map {|c| c.steps.map {|step| step.apt } }
config.vm.provision :shell, :inline => "sudo apt-get install -y #{ (apts + ["tcc"]).compact.uniq.sort.join " " }"
end
- Run
vagrant up
and the Ubuntu machine will be automatically built for you (~ 1GB download). - Follow the instructions to build the project
- Enjoy!
Long "Waiting for VM to boot"?
-> forcefully power off the VM in the VirtualBox GUI and run "vagrant up" again.
- https://github.com/rabidgremlin/vagrant-quine-relay
- https://github.com/chiastolite/vagrant-quine-relay
A Google Cloud VM with these settings was able to work:
- e2-standard-16
- 100 gb disk
- Ubuntu 22.10
You could probably get by with 20 gb disk. You could probably get by with a smaller e2 machine. I ran sudo apt update
and then ran through the 1. Install all interpreters/compilers.
steps in the README, then make
, and it worked!