A simple & cool blog platform, based on GitHub API
, designed for Geeks.
- Operating System: Linux, OS X or Windows.
- Node.js Runtime: 8.x or newer; it is recommended that you use LTS Releases.
npm install tb-cli -g
Highly recommend that please use TB-CLI(All usage informations are in there).
Make sure you have installed TB-CLI. More details please click here.
tb init [project-name]
cd [project-name]
npm install // if using yarn: yarn
npm run dev
After generating TB, open your browser and visit http://127.0.0.1:2333.
git clone git@github.com:TB-blog/TB.git
cd TB
npm install // if using yarn: yarn
Attention: You need to add a config file. If you are not a developer, please use TB-CLI to get start.
If you are a developer, you need to create a new file name config.json
undered the project's root folder.
{
"token": "***", // your personal access token
"nickname": "nickname", // your nickname
"user": "TB", // your Github username
"repo": "TB", // your repo name
}
Run npm run dev
then open your browser and visit http://127.0.0.1:2333.
you can run tb theme
to check official themes.
Welcome to contribute by creating issues or sending pull requests. See Contributing Guide for guidelines.