Code Monkey home page Code Monkey logo

old-blog's Introduction

bamboofox_website

Install Hexo

Install npm

sudo apt-get install -y npm

Install nodejs

sudo apt-get install -y nodejs-legacy

Install hexo

sudo npm install hexo-cli -g

How to use

git clone https://github.com/bamboofox/bamboofox_website
cd bamboofox_website
npm install
hexo server

See it at http://0.0.0.0:4000/

Hexo-admin

Admin page is at http://0.0.0.0:4000/admin/

How to deploy

hexo generate
hexo deploy

See it at http://bamboofox.github.io/

Docker Avaliable

Pull the image

sudo docker pull bamboofox/bamboofox_website

Run

sudo docker run -it -p 4000:4000 --name {choose your container name} bamboofox/bamboofox_website bash

This step is to use the image we pull previously to run up a new container

parameter -p is to set the port forwarding (hexo server default port is 4000)

parameter -i is to open the container's stdin

parameter -t is to distrubute a tty to the container's stdin

Git pull

git pull

Remember to pull the repo from github

Since the repo in the image may not be the lastest one

Check current container

sudo docker ps
sudo docker ps -a

parameter -a is used to look also the not running container

Start the container if it is not running

sudo docker start -i {your container name}

Stop the container if yout want to

sudo docker stop {your container name}

WRITING

Read on WRITING for more details.

old-blog's People

Contributors

bananaappletw avatar bletchley13 avatar briansp8210 avatar bruce30262 avatar naetw avatar oalieno avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

old-blog's Issues

The website only display 10 blog posts after clicking a tag

when clicking a tag ( let's say pwn ) with more than 10 blog posts
I was expecting it will display all the blog post that has a pwn tag in it
But in fact it only display 10 blog posts , and exclude the rest of the posts
Is this a bug or a feature ?
This might be inconvenient when people try to search the blog post by its tag

Add member page

Members' information could be saved as posts, but label is member.

Then in member page, it could use selector to select posts which label is member.

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.