Tinple.me and liquidluck

tinple.me is no longer exist, change to tinple.io.

These days I have been occupied with tinple.me in my leisure. And I use liquidluck to build it.Now I want to share the process with you.

Several days ago, I got the response from lepture that suggested me to use Github Pages.Then I googled some information and started to learn git.

As git is a little difficult to use adeptly, so I am still learning it and I think it is a good start for me to dive myself into open source.But for liquidluck, knowing a little knowledge about git is ample.

First, you should build a website in liquidluck.You can follow its simple document on RTD, it is just easy anyway. And you are also prepared git.

And next you can use git to add your files into VCS(version control system).Turn to your deploy directory under the website and init the git.

$ cd website/deploy
$ git init

Then add all your files into git and commit it.If you are not similiar with git, I strongly advise you to learn the book Pro_Git on the website, chinese and english version are all available.

$ git add .
$ git commit -m 'my blog source'

Now you can see your git status and use remote repository.But at before, you should create a new repo named [username].github.com, which calls your personal page(one patterns of github pages) and it should be exist only one. Blog is just a shortname, you can use others.

$ git status
$ git remote add blog https://github.com/username/username.github.com.git
$ git remote -v
$ git push blog master

And type your username and password in github, then you may push your core to github. If you see some wrongs, you may git pull the repo first or use git push -f. Going to username.github.io , your website made in liquidluck may display.If you see 404, you may wait few minutes to let github resolve it and refresh the page.

The main of things is done now.And if you want to buy yourself a domain, you may go to Godaddy, it is greater than any other domain service company. For me in China, I used alipay to pay for it.Luckily, I received email from Godaddy 10 minutes around after I paid(Actually someone used alipay may wait 48 hours later).And then I used DNSPod to set my domain.You can find some information about it on the website.Pay attention to the top domain in github when you set your domain resolve.

And today, I followed the webhook document on liquidluck.There are some small mistakes happening when I added webhook.Because I used virtual machine to run the webhook, some other questions dizzy me.Anyway to my luck, I fixed it.You can go to RTD again to see something about webhook and just follow it(I am in github).

Finally go to the URL you set and if you see ok, the webhook is already successful. And you will see deploy directory created.Everytime when you post an essay and refresh the webhook, the deploy has updated.And then you can git push to your repo.

Although I tossed many times and almost got crazy, it really taught me a lot. Anyway, liquidluck is just so lovely and I really like it!