Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

rijn/nodecho

Open more actions menu

Repository files navigation

nodecho Build Status

Just a blog

Demo

「秋桜」

Screenshots

Screenshot#1 Screenshot#2 Screenshot#3 Screenshot#4

Install

  1. Clone this repo

    git clone https://github.com/rijn/nodecho.git blog
    
  2. Put the following config into config/prod.conf.js. The project is using sequelize.js which support PG, MySQL, MsSQL and Sqlite.

    const path = require('path');
    
    module.exports = {
        'db': {
            dialect: 'mysql',
            host: '',
            port: 3306,
            username: '',
            password: '',
            database: '',
            pool: {
                max: 5,
                min: 0,
                idle: 10000
            },
            logging: false,
            define: {
                underscored: true
            }
        },
        'file': {
            path: path.join(__dirname, '../files'),
            mimetype: ['image/gif', 'image/x-png', 'image/pjpeg', 'image/jpg', 'image/jpeg', 'image/png']
        }
    };
    
  3. Install dependencies and build the vendor.

    npm i -g grunt grunt-cli
    npm i
    
    grunt build
    
  4. Install PM2 and start the app

    npm i -g pm2
    pm2 start ./server --name="blog"
    

Dev

# running dev server
grunt dev

# running api server spec test
grunt mocha

About

Just a blog

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.