You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. YOU MAY USE THIS SOFTWARE AT YOUR OWN RISK. THE USE IS COMPLETE RESPONSIBILITY OF THE END-USER. THE DEVELOPERS ASSUME NO LIABILITY AND ARE NOT RESPONSIBLE FOR ANY MISUSE OR DAMAGE CAUSED BY THIS PROGRAM.
# Install dependencies
$ sudo apt install golang git -y
# Get this repository
$ git clone https://github.com/tiagorlampert/CHAOS
# Go into the repository
$ cd CHAOS/
# Run
$ PORT=8080 SQLITE_DATABASE=chaos go run cmd/chaos/main.go
2. Docker
See more:
Linux
# Create a shared directory between the host and container
$ mkdir ~/chaos-container
$ docker run -it -v ~/chaos-container:/database/ -v ~/chaos-container:/temp/ \
-e PORT=8080 -e SQLITE_DATABASE=chaos -p 8080:8080 tiagorlampert/chaos:latest
Windows
# Create a shared directory between the host and container
$ md c:\chaos-container
$ docker run -it -v c:/chaos-container:/database/ -v c:/chaos-container:/temp/ -e PORT=8080 -e SQLITE_DATABASE=chaos -p 8080:8080 tiagorlampert/chaos:latest