Git Product home page Git Product logo

dis-wanju's Introduction

玩具鸡通用脚本

第一:包含三种平台脚本,脚本功能一样,都是调用start.sh脚本启动xray

第二:仓库中提供一个我的脚本start.sh,仅供参考,脚本自适应amd和arm,你需要在config.yml里面设置参数

端口无所谓,因为这是利用ARGO隧道的配置。你也可以用你的脚本,名称只要是start.sh即可

第三:各平台需要的文件(一般如果启动文件名称不一样,先把启动文件名称改成与本仓库一至)

1、python-----:start.sh config.yml main.py requirements.txt ,四个文件

2、nodejs----------:start.sh config.yml package.json index.js ,四个文件

3、JAVA---------:start.sh config.yml server.jar ,三个文件

4、能直接启动start.sh的平台--------:start.sh config.yml ,二个文件

5、新增30行nodejs版本,不过能用别的方案,不建议使用这个

下面以wyldhost.de为例简单展示java使用方法,其他类似

1、修改玩具容器的启动文件为server.jar

image

2、上传文件本仓库中的start.sh config.yml server.jar三个文件,修改config.yml中的变量

image

3、修改server.jar和start.sh权限为777,然后启动容器

image

dis-wanju's People

Contributors

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