Giter Club home page Giter Club logo

codetool's Introduction

CodeTool

envinit

envinit is a tool for manage the environments of project. usually, the dev enviroment is not equal to the prod environment, so we can use this tool to manage the environment.

step1:

git glone and install the tool

git clone [email protected]:buptlsp/codetool.git
cd codetool
sudo ./install

step2:

initial the environment. if you have already initial the environment, you can skip this step.

cd your_project
envinit init
# you can edit ./environments/config.json to edit your environments

step3:

sync the environment

cd your_project
envinit run 
# you can just run envinit to see the params
envinit
envinit --help

the script will copy ./environments/{envName}/a/b/config.xx to ./a/b/config.txt,thus, we can save our environments in ./environments.

Tips: the ./environments should add to git, and the destfile should add to gitignore.

codetool's People

Contributors

buptlsp avatar

Watchers

 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.