Giter VIP home page Giter VIP logo

simple-proxy's Introduction

simple-proxy

Just a simple server to proxy request.

配置文件

请将项目根目录的config-example.js文件重命名为config.js文件,然后根据实际需要修改对应配置。

项目部署

建议使用pm2进行项目的启动与维护。

1、安装依赖

npm run installDependencies

2、启动项目

在项目根目录下执行:

# 初次启动
npm run start

# 重启
npm run restart

3、开启自启动

执行下述命令,pm2会给出一串脚本命令,在终端中复制粘贴该命令并回车执行即可。

npm run getShellUsedToStartProjectAfterReboot

4、查看项目日志

npm run log

5、停止和删除项目

停止项目:

npm run stop

从PM2项目清单中删除项目:

npm run delete

License

MIT协议。免费开源,可以随意使用,但因使用而产生的问题请自行负责。

simple-proxy's People

Contributors

yakima-teng 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.