-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Getting Started
Click the Fork icon to create a copy of this repository within your GitHub account.
If you have never used your GitHub Pages domain before, you can use this procedure to quickly set up HubPress. With this method, only a few steps are required to get HubPress deployed and ready for use.
Important
|
If you are currently using your username.github.io GitHub Pages domain for another project, or if you want to use a custom domain name, skip to the next procedure for instructions.
|
-
Rename your repository to
<username>.github.io
-
Set values in
hubpress/config.json
The following parameters are mandatory :
-
username
, which is your GitHub user name, -
repositoryName
, which is the new name of the repository fork,<username>.github.io
.
-
-
Commit the changes, and open the GitHub Pages domain:
http://<username>.github.io/
. -
The following screen indicates you have correctly configured HubPress
If you want your blog to be available on a custom domain, or you are already using your GitHub Pages domain to host another project, some extra configuration is required.
-
In the repository settings, set the default branch to
gh-pages
: -
Switch your repository to the branch gh-pages
-
Set the required values in `hubpress/config.json
The following parameters are mandatory :
-
username
, which is your GitHub user name, -
repositoryName
, which is the repository fork. For example,hubpress.io
if you did not rename it.
-
-
Commit the changes, and open the GitHub Pages domain:
http://<username>.github.io/<repositoryName>/
. -
The following screen indicates you have correctly configured HubPress
The HubPress Administration Console is available at /hubpress
-
http://<username>.github.io/hubpress/
for GitHub Hosted blogs, or -
http://<username>.github.io/<repositoryName>/hubpress/
for Domain Hosted blogs.
Enter your GitHub credentials to log into HubPress Admin.
Once you authenticate, a personal token is created for future calls from HubPress to the GitHub API.
This is synchronized across all sessions of HubPress, so if you open the Administration Console on your PC and then your Tablet, the token is applicable to all devices.