-
To run with Vagrant:
- virtualbox - version 5.2.14 at the moment of writing
- vagrant - version 2.1.2 at the moment of writing
-
To run with Docker
- docker - version 18.03 at the moment of writing
- docker-compose - version 1.22.0-rc2 at the moment of writing
- Clone repository:
$ git clone https://github.com/hbvhuwe/next-number-app.git
or download zip and unpack it - Navigate to project's folder:
cd next-number-app
orcd <unpacked-folder-path>
- With Vagrant:
- Run
vagrant up
- Stop
vagrant halt
to poweroff machine orvagrant suspend
to save machine state
- Run
- With Docker:
- Build and start
./docker --start
- Stop
./docker --close
- Build and start
- Via netcat one number:
nc localhost 8080 <<< "next number"
- In interactive mode:
nc localhost 8080