GithubHelp home page GithubHelp logo

ota1-letzgame / nq-server-simple Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cnly1987/nq-server-simple

0.0 1.0 0.0 24.39 MB

nodequery-server nodejs version

Shell 0.16% TypeScript 0.90% JavaScript 92.68% CSS 4.29% SCSS 1.96%

nq-server-simple's Introduction

nq-server-simple

介绍

nq-server-simple 基于nodequery.com的开源客户端开发的服务端,

软件架构

nodejs sqlite3 mongodb

演示

演示地址:http://www.monitorx.xyz/ Alt text Alt text Alt text

安装流程

yum -y install  nodejs
npm install -g n  #安装n版本管理工具  yarn管理工具 和pm2进程守护工具
n stable
npm install -g yarn pm2

yum -y install git  #安装 git
git clone https://github.com/cnly1987/nq-server-simple.git  #克隆代码
cd nq-server-simple
yarn      #安装依赖
node ace build  #

在.env文件夹按照 格式填写mongodb连接地址。【如何安装mongodb这里就不介绍了】,记得修改下APIKEY

然后把tmp文件夹和.env 拷贝到build文件夹。
.env 文件可以设置运行的端口,自己自行设置。
执行pm2 start build/server.js
然后pm2 list 查看下有没有问题,状态running表示OK了。  默认端口是2323, 地址是127.0.0.1:2323

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.