-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added backend, private repo, updated docs
- Loading branch information
Showing
10 changed files
with
186 additions
and
106 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
## Customizing | ||
|
||
**Important:** All customizations have to happen in the `gh-pages` branch. If you are using the | ||
command line, make sure to | ||
|
||
git checkout gh-pages | ||
|
||
or, on the website, select the `gh-pages` branch before editing things. | ||
|
||
### Template | ||
|
||
The template is fully customizable, edit `template.html`. | ||
|
||
### Logo | ||
|
||
Add a `logo.png` to your repo's root and change `template.html` to point to that file. | ||
|
||
### CSS | ||
|
||
CSS is located at `style.css` in the root directory. Just edit it and commit the file. | ||
|
||
### Use a subdomain | ||
|
||
If you want to use your own domain to host your status page, you'll need to create a CNAME file | ||
in your repository and set up a CNAME record pointing to that page with your DNS provider. | ||
|
||
If you have e.g. the domain `mydomain.com`, your GitHub username is `myusername` and you want | ||
your status page to be reachable at `status.mydomain.com` | ||
|
||
|
||
- Create a `CNAME` file in the root of your repository | ||
|
||
status.mydomain.com | ||
|
||
- Go to your DNS provider and create a new CNAME record pointing to your | ||
|
||
|
||
Name Type Value | ||
status CNAME myusername.github.io | ||
|
||
See [Using a custom domain with GitHub Pages](https://help.github.com/articles/using-a-custom-domain-with-github-pages/) | ||
for more info. |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Installation | ||
|
||
## Using pip | ||
The prefered way to install statuspage is with Pythons package manager pip: | ||
|
||
pip install statuspage | ||
|
||
## Binaries | ||
### macOS (64Bit) | ||
curl -L https://github.com/jayfk/statuspage/releases/download/0.6.0/statuspage-darwin-64 > /usr/local/bin/statuspage | ||
chmod +x /usr/local/bin/statuspage | ||
|
||
### Linux (64Bit) | ||
curl -L https://github.com/jayfk/statuspage/releases/download/0.6.0/statuspage-linux-64 > /usr/local/bin/statuspage | ||
chmod +x /usr/local/bin/statuspage |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Options | ||
|
||
## Create a private status page | ||
|
||
*Please note: Your Github API token needs the `repo` scope.* | ||
|
||
To create a private status page, set the `--private` flag. | ||
|
||
statuspage create --private --token=<token> | ||
|
||
This will create a private repository, however the GitHub page will be public. | ||
|
||
## Use Organization Account | ||
|
||
*Please note: You need to have the proper permissions to create a new repository for the given | ||
organization.* | ||
|
||
In order to create/update a status page for an organization, add the name of the organization to | ||
the `--org` flag, e.g.: | ||
|
||
statuspage create --org=my-org --name=.. | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
pygithub-redux==1.30.0 | ||
click==6.6 | ||
jinja2==2.8 | ||
tqdm==4.8.1 | ||
tqdm==4.8.1 | ||
requests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.