GithubHelp home page GithubHelp logo

chenny / easy-env Goto Github PK

View Code? Open in Web Editor NEW

This project forked from easy-framework/easy-env

0.0 1.0 0.0 2.95 MB

Just one command to build all env for the easy-php ๐Ÿณ

Home Page: https://easy-framework.github.io/easy-env/

Shell 54.92% PHP 16.24% Dockerfile 2.54% Smarty 26.30%

easy-env's Introduction

OS

Just one command to build all env for the easy-php

easy-env

file structure

โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ _config.yml
โ”œโ”€โ”€ bin
โ”‚ย ย  โ”œโ”€โ”€ easy
โ”‚ย ย  โ””โ”€โ”€ scripts
โ”‚ย ย      โ”œโ”€โ”€ destroy.sh
โ”‚ย ย      โ”œโ”€โ”€ init.sh
โ”‚ย ย      โ”œโ”€โ”€ login.sh
โ”‚ย ย      โ”œโ”€โ”€ restart.sh
โ”‚ย ย      โ”œโ”€โ”€ start.sh
โ”‚ย ย      โ””โ”€โ”€ stop.sh
โ”œโ”€โ”€ composer.json
โ”œโ”€โ”€ configs
โ”‚ย ย  โ””โ”€โ”€ xhgui
โ”‚ย ย      โ””โ”€โ”€ config.default.php
โ”œโ”€โ”€ docker-compose.yaml
โ”œโ”€โ”€ mongo
โ”‚ย ย  โ””โ”€โ”€ Dockerfile
โ”œโ”€โ”€ mysql
โ”‚ย ย  โ””โ”€โ”€ Dockerfile
โ”œโ”€โ”€ nginx
โ”‚ย ย  โ”œโ”€โ”€ Dockerfile
โ”‚ย ย  โ””โ”€โ”€ conf
โ”‚ย ย      โ”œโ”€โ”€ conf.d
โ”‚ย ย      โ””โ”€โ”€ nginx.conf
โ”œโ”€โ”€ php
โ”‚ย ย  โ”œโ”€โ”€ Dockerfile
โ”‚ย ย  โ”œโ”€โ”€ conf
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ conf.d
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ php-fpm.conf
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ php-fpm.d
โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ php.ini
โ”‚ย ย  โ””โ”€โ”€ extensions
โ”‚ย ย      โ””โ”€โ”€ no-debug-non-zts-20170718
โ”œโ”€โ”€ redis
โ”‚ย ย  โ””โ”€โ”€ Dockerfile
โ”œโ”€โ”€ runtime
โ”‚ย ย  โ””โ”€โ”€ logs
โ”‚ย ย      โ”œโ”€โ”€ mongo
โ”‚ย ย      โ”œโ”€โ”€ nginx
โ”‚ย ย      โ”œโ”€โ”€ php
โ”‚ย ย      โ””โ”€โ”€ redis
โ””โ”€โ”€ www

Initialization process

Yeah, That's so cool. I enjoy the feeling when I only need to execute one command, As the same time, my project and development enviorment, etc. all is ready. What's more, the project is opened in the windows by the command. Meanwhile, xhgui is support.

How to use?

Please install the docker & npm & yarn first!

echo export EASY_PATH=$(pwd) >> ~/.profile && echo 'export PATH="$PATH:$EASY_PATH/bin"' >> ~/.profile && source ~/.profile

Commands:

Usage:
    easy init/start/restart/stop/destroy/login

Example:
    easy init
    easy start
    easy restart
    easy stop
    easy destroy
    easy login <php/redis/nginx/mysql/mongo>

docker images:

REPOSITORY         TAG                   IMAGE ID            CREATED             SIZE
mongo              3.6-jessie            ceee4d1620d4        4 days ago          368MB
php                7.2.7-fpm-alpine3.6   39b42adef50e        3 weeks ago         79.9MB
mysql              5.7                   66bc0f66b7af        3 weeks ago         372MB
redis              4-alpine              caaeda72bf8f        5 weeks ago         27.8MB
nginx              1.15-alpine           bc7fdec94612        6 weeks ago         18MB

easy-env's People

Contributors

tigerb avatar

Watchers

chenny 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.