Giter Club home page Giter Club logo

dcg-edi's Introduction

# 和**长荣集团的EDI接口相关开发的服务
ps aux|grep python
sudo chmod u+x startmyapp
启动 DCG-EDI
1. 激活虚拟环境
cd /var/dcg-edi
source venv/bin/activate

2. 启动ftp_client.py 程序:该程序就是从FTP服务器中,取回EDI的文件
nohup python -u ftp_client.py >/dev/null 2>&1 &

3. 上传数据: 从数据库里读取数据自动生成EDI文件,上传给船公司
nohup python -u edi_send.py >/dev/null 2>&1 &

4. 监控本地是否有需要解析的文件,有的话,解析并更新到数据库中
nohup python -u edi_parser.py >/dev/null 2>&1 &

BAT
./startapp-edi_send
./startapp-edi_parser
./startapp-ftp_client

dcg-edi's People

Contributors

thomaslzb avatar

Watchers

James Cloos 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.