mirror of
				https://github.com/cheat/cheat.git
				synced 2025-11-04 07:45:28 +01:00 
			
		
		
		
	Added Vagrantfile
Added a `Vagrantfile` which builds an alpine-based environment that can be used for development and testing.
This commit is contained in:
		
							
								
								
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@@ -1,5 +1,7 @@
 | 
			
		||||
*.log
 | 
			
		||||
*.pyc
 | 
			
		||||
.env
 | 
			
		||||
.vagrant
 | 
			
		||||
MANIFEST
 | 
			
		||||
build
 | 
			
		||||
cheat.egg-info
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										17
									
								
								Vagrantfile
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								Vagrantfile
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
# -*- mode: ruby -*-
 | 
			
		||||
# vi: set ft=ruby :
 | 
			
		||||
 | 
			
		||||
Vagrant.configure("2") do |config|
 | 
			
		||||
  config.vm.box = "alpine/alpine64"
 | 
			
		||||
 | 
			
		||||
  config.vm.provider "virtualbox" do |vb|
 | 
			
		||||
    vb.memory = "256"
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  config.vm.provision "shell", inline: <<-SHELL
 | 
			
		||||
     sudo apk update
 | 
			
		||||
     sudo apk add py-pip
 | 
			
		||||
     su vagrant && sudo -H pip install docopt pygments termcolor flake8
 | 
			
		||||
     cd /vagrant && sudo python setup.py install
 | 
			
		||||
  SHELL
 | 
			
		||||
end
 | 
			
		||||
		Reference in New Issue
	
	Block a user