GithubHelp home page GithubHelp logo

cjw's Introduction

cjw财务软件

调用新天地数据接口,将门店营业数据上传至服务器

Installation

  1. 下载项目源代码,并将其放到用户主目录下
cd ~
git clone https://github.com/fatindeed/cjw.git
  1. 创建配置文件var/application.ini,配置参数参考app/conf/application.ini.example
  2. 下载并安装Docker Toolbox
  3. 修改Docker Toolbox目录中的start.sh,加入以下代码:
STEP="Setting env"
ENV_CNT=0
while [ $ENV_CNT -eq 0 ]
do
  ENV_CNT=$("${DOCKER_MACHINE}" env "${VM}" | wc -l)
  sleep 5
done
eval "$(${DOCKER_MACHINE} env --shell=bash ${VM})"

runapp () {
  pushd "$1" > /dev/null
  docker-compose up -d
  popd > /dev/null
}
  1. 复制Docker Quickstart Terminal的快捷方式到启动目录,并在目标最后加上runapp cjw,如下:
"C:\Program Files\Git\bin\bash.exe" --login -i "C:\Program Files\Docker Toolbox\start.sh" runapp cjw
  1. 重启后每次开机后即会自动启动本应用

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.