Skip to content

ohbyeongmin/provision-vm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Provision VM!

Provision VM for your blockchain local developement environment!

Prerequisite

  • vagrant
  • vmware or virtualbox etc...

Provisiong development tools

  • zsh / oh-my-zsh
  • curl, git, cmake, vim, net-tools, jq, direnv, unzip
  • nodejs
  • pnpm
  • golang
  • foundry
  • awscli
  • terraform
  • kubectl

How to use it

  1. Install vagrant ENV Plugin

    $vagrant plugin install vagrant-env
  2. configure your env

    cp .env.example .env

    and fill value

  3. change ubuntu image

    Use the specific ubuntu image for your host arch. You can find them on the following page

    # Vagrantfile
    
    config.vm.box = "bento/ubuntu-22.04-arm64"
  4. change host name what you want

    # Vagrantfile
    
    config.vm.hostname = "your-vm-hostname"
    config.vm.define "your-vm-hostname"
  5. Start

    $vagrant up

stop & destroy vm

stop

$vagrant suspend

destroy

$vagrant destroy

remote access in VScode

  1. input ssh-config

    $vagrant ssh-config >> ~/.ssh
  2. select host in vscode

    • open your vscode
    • shift + command + p
    • select Remote-SSH: Connect to Host
    • select your vm host

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages