This is a repository to create pre-configured environment to run Haaukins on it.
Before attempting to create pre-configured VM on your local computer, make sure that required software installed to your computer
-
Docker
-
Golang (https://golang.org/dl/)
-
Vagrant (https://www.vagrantup.com/downloads.html)
In addition mentioned tools above, you should be sure that you have enough resources (CPU, Memory).
This repository might not be needed if you want to use your actual Linux environment instead of running VM under your machine
Make sure that you have pre-configured box installed in your local computer by given instructions from the repo sec0x
Include your local paths to sync folders with Virtual environment. Update .env.example and rename it to .env
in the same place where Vagrantfile is located.
Content of example .env file:
GO_PATH=$HOME/go
VMDKS=<path-to-vmdks-folder-in-your-local-computer>
HKND_CONFIGS=<path-to-configs-folder-in-your-local-computer>
HKND_FRONTENDS=<path-to-frontends-folder-in-your-local-computer>
HKND_PROJECTS=<path-to-projects-folder-in-your-local-computer>
Before building the box make sure about followings:
-
Generated
.env
file before building the box as described above. -
Installed plugins to have working Vagrantfile
# install vagrant-disksize $ vagrant plugin install vagrant-disksize # install vagrant-env
Following cast is showing the process of making the vagrant up and ready after, you have cloned the repository.
git clone https://github.com/aau-network-security/sec0x
cd sec0x/hkn-base/
./build.sh
cd ../
vagrant up
## after that you can ssh to vagrant easily
vagrant ssh
Can be observed from following place: