GithubHelp home page GithubHelp logo

teng2015 / spruche Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iceend/spruche

0.0 1.0 0.0 3.62 MB

A blog system,based on Node.js Express.

Home Page: https://www.coolecho.net

License: MIT License

JavaScript 85.09% CSS 7.55% HTML 7.37%

spruche's Introduction

#Spruche

version license

##Get Started Spruche is a blog system,which is based on Node.js.Here you can go to check the system function--https://blog.coolecho.net.The back-end using Express framework, on the front end pjax technology is introduced.

If you want to use Spruche, your server should satisfy the conditions. ###list

  • Node.js >= 4.4.7
  • mysql >= 5.6.x

##Install ###step 1. Create database You need to execute SQL script,Create the database scripts are in database.sql.You can be in the mysql command line or execute a statement in the visualization tools, of course you can also define your own database name.for example:

create database xxxx;

###step 2. Mysql config /database/mysqlDB.js

module.exports = {
  mysql: {
    host: '127.0.0.1',
    user: 'username',       //username,用户名
    password: '****',       //password,密码
    database:'database',    //database,数据库名
    port: 3306              //端口
  }
};

###step 3. Install packages Open system terminal

npm install

Then

npm install -g grunt-cli
grunt

###step 3. Start If you want to start a system, executing the following command.

npm start

If you want to make the system aways run,you need install forever.

npm install -g forever

And then:

forever start ./bin/www

or

npm run public

###step 4. System config Now,you need to access you website:http://hostname/start or https://hostname/start.Add the corresponding information.

Ok, finished.Now,you can access you website.

###Admin Access https://hostname/admin or http://hostname/admin,you can manage system.

###DUODHUO Access https://hostname/admin#wsconfing, set short_name of duoshuo.

###LICENSE MIT

spruche's People

Contributors

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