Code Monkey home page Code Monkey logo

dfarm-node-server's Introduction

Test Device Farm Full-Stack Node Server

Test Device Farm 서버는 Jenkins Plugin인이 요청한 단말 정보를 반환해주는 역할을 한다.

개발환경 설정

$> git clone 저장소
$> cd devicefarm
$> npm install
$> bower install
$> grunt serve

서버를 실행 시키기전에 반드시 MongoDB 인스턴스가 실행되어 있어야한다.

ADBKit 의존성

ADBkit은 현재 2.3.x 버전까지 나와 있지만 2.1 버전부터 추가된 인증 절차때문에 디팜은 adbkit 2.0.x 버전만 사용이 가능하다. 참고로 2.0 버전의 최신은 2.0.17 이다.

배포방법

현재 DFarm은 스탑워치와 같은 물리 리눅서 서버에서 돌아가고 있다. 따라서 배포하려면 물리서버에 접근해야한다. 배포는 간단하다 git 으로 최신 내용을 업데이트 받고 필요하다면 노드모듈을 설치한다.

$> git pull
$> npm install

그리고 Forever를 실행한다.

Forever 실행 스크립트

$ /app/devicefarm-node-server> ./restart.sh

참고 문서

FAQ

Q1. npm install 명령을 실행했는데 devDependencies 모듈이 설치되지 않습니다.

NODE_ENV 환경이 production일 경우 devDependencies 모듈이 설치되지 않습니다. 따라서 아래와 같이 모듈설치시 아래와 같이 환경을 변경후 실행하세요.

NODE_EVN=development npm install

dfarm-node-server's People

Contributors

miconblog avatar skyisle avatar

Stargazers

 avatar

Watchers

Taeho Kim avatar Kyoungmin Kim avatar James Cloos avatar  avatar Yongsung Yoon avatar crong avatar HyungTae Lim (Tyler) avatar Gyuman Cho  avatar Jongbhin Park avatar Sungjae Jang avatar  avatar  avatar 임유빈 avatar  avatar ByeongChan 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.