GithubHelp home page GithubHelp logo

peterchk / blockchain-blog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hexojs/hexo

0.0 1.0 0.0 7.24 MB

A fast, simple & powerful blog framework, powered by Node.js.

Home Page: http://peter-blockchain.herokuapp.com/

License: MIT License

JavaScript 83.37% HTML 9.41% CSS 7.22%

blockchain-blog's Introduction

Blockchain FAQ Blog

Build Status NPM version Coverage Status Build status Gitter Discord Chat dependencies Status devDependencies Status

A fast, simple & powerful blog framework, powered by Node.js. Originally forked from hexo.

Heroku Installation

#node, npm and git are prerequisite
$ sudo apt install snapd
$ sudo snap install heroku --classic

Hexo installation

$ npm install hexo-cli -g

Quick Start

Login with Heroku credentials

$ heroku login
#enter heroku email and password

Setup new heroku app

heroku create -a <app-name>

Setup your blog

#this project already initiated
$ hexo init blog

$ cd blog
#change directory before running this to install
npm install hexo-deployer-heroku --save

Start the server

#no need to start local server if push directly to heroku
$ hexo server

Create a new post

$ hexo new "Hello World!"

Clean previous public and database folder

$ hexo clean

Generate static files

#generate new public and database folder for deployment
$ hexo generate

Add heroku git

#peter-blockchain
heroku git:remote -a <git repo name>

Add text @ blog > config.yml

deploy:
  type: heroku
  repo: <repo from heroku>

Deploy static files

$ hexo deploy

Check the heroku website

$ heroku open

More Information

License

MIT

blockchain-blog's People

Contributors

aausch avatar akfish avatar amobiz avatar bobd91 avatar casear avatar chenall avatar ertrzyiks avatar floriancargoet avatar gemedet avatar heroicyang avatar hulufei avatar jlhwung avatar leesei avatar liuhongjiang avatar magicianshiro avatar mrjohannchang avatar naokiy avatar noahdragon avatar peterchk avatar randallkent avatar rhykw avatar segayuu avatar sergiolepore avatar timnew avatar tommy351 avatar winterttr avatar wolfgangkluge avatar xgheaven avatar xuanwo avatar zbicin 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.