macOS xterm-256color zsh 1154 views

Deploying 0x Launch kit on AWS using docker machine.

Create the Docker machine and open ports 3000 and 3001

docker-machine create --driver amazonec2 --amazonec2-instance-type t2.medium --amazonec2-open-port 3001 --amazonec2-open-port 3000 --amazonec2-security-group test-launch-kit-sg test-launch-kit

Load the docker machine into the current environment,

eval $(docker-machine env test-launch-kit)

Run the 0x Launch Kit Wizard

npx @0x/launch-kit-wizard 

Edit the files replacing localhost with the public url of your docker-machine.

Build the front end and start the containers.

docker-compose up -d

Once the front end container has completed building, the container will exit and your 0x Launch Kit will be ready!

More by dekz

untitled 1:28

by dekz

See all