Giter VIP home page Giter VIP logo

wild's Introduction

wild

mkdir wild
cd wild
git init
git remote add github [email protected]:rvion/wild.git
touch readme.md
code . # open current folder in visual studio code
chmod +x *.sh
# buying a machine with docker machine
./buy-machine.sh mwild

Running pre-create checks...
Creating machine...
(mwild) Creating SSH key...
(mwild) Creating Digital Ocean droplet...
(mwild) Waiting for IP address to be assigned to the Droplet...
Waiting for machine to be running, this may take a few minutes...
Detecting operating system of created instance...
Waiting for SSH to be available...
Detecting the provisioner...
Provisioning with ubuntu(systemd)...
Installing Docker...
Copying certs to the local machine directory...
Copying certs to the remote machine...
Setting Docker configuration on the remote daemon...
Checking connection to Docker...
Docker is up and running!
To see how to connect your Docker Client to the Docker Engine running on this virtual machine, run: docker-machine env mwild
# put ip of mwild in clipboard
docker-machine ip mwild | pbcopy

# ssh into mwild
docker-machine ssh mwild
# deploy docker-compose locally
docker-compose up

Creating wild_db_1 ...
Creating wild_db_1 ... done
Creating wild_wordpress_1 ...
Creating wild_wordpress_1 ... done
Attaching to wild_db_1, wild_wordpress_1
db_1         | 2017-12-21T14:53:00.194303Z blablabla ....
# instruct docker commands to execute in remote mwild machine instead of local machine
$(dm env mwild)

DNS config

cloudflare DNS config

wild's People

Contributors

rvion avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.