Code Monkey home page Code Monkey logo

f2e-publish's Introduction

f2e-publish

tbtx f2e publish service

准备

在服务器上创建一个SVN仓库以及一个SVN项目库

安装

npm install

仿照settings.example.js创建配置settings.js里的svn项目地址,用户名和密码来执行svn 更新

拷贝hooks/svn.hooks到svn仓库的hooks/post-commit并给其执行权限,修改里面的HANDLER路径为hooks/svnHandler.js里绝对路径,
node的bin目录可能在/user/local/bin里,根据自己的环境修改

运行

// PORT可以不指定,永久设置使用export PORT=1234
PORT=1234 forever start -c "npm start" ./ 或者 forever start ./bin/www

停止

forever stop -c "npm start" ./ 或者 forever stop ./bin/www

nginx

参照conf下nginx,修改项目目录即可

f2e-publish's People

Contributors

zenxds avatar

Watchers

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