-
Notifications
You must be signed in to change notification settings - Fork 0
Git Repo Services
By default, the GitPitch server hosted on GitPitch.com is configured to communicate with the following GRS (Git Repository Services):
To switch between these GRS services on GitPitch simply use the built-in switching menu found in the bottom-left corner of every slideshow presentation page:
As soon as you make a GRS selection in this menu your GitPitch slideshow presentation page will automatically start communicating with the chosen GRS.
If you host your own GitPitch server you can customize the GRS configuration to suit your particular needs. The conf/application.conf
file is used to configure key meta-data identifying each active Git repository service on a GitPitch server. The default configuration on GitPitch.com looks as follows:
gitpitch {
git {
repo {
services = [
{
name = "GitHub"
type = "github"
site = "https://github.com/"
apibase = "https://api.github.com/"
// apitoken = "token your-github-access-token-here"
apitokenheader = "Authorization"
rawbase = "https://raw.githubusercontent.com/"
default = "true"
}
{
name = "GitLab"
type = "gitlab"
site = "https://gitlab.com/"
apibase = "https://gitlab.com/api/v3/"
// apitoken = "your-gitlab-access-token-here"
apitokenheader = "PRIVATE-TOKEN"
rawbase = "https://gitlab.com/"
default = "false"
}
{
name = "Bitbucket"
type = "bitbucket"
site = "https://bitbucket.org/"
apibase = "https://api.bitbucket.org/2.0/"
// apitoken = "your-bitbucket-access-token-here"
apitokenheader = "Authorization"
rawbase = "https://bitbucket.org/"
default = "false"
}
]
}
}
}
Please note the following:
-
The
apitoken
for each GRS property is commented out in the configuration snippet above. If you launch your own GitPitch server instance make sure you add your private authentication tokens for each GRS as appropriate. -
You can use custom configuration for these GRS services if you want to direct your own GitPitch server instance to communicate with GRS hosted at custom URLs, for example, with a private GitLab server.
-
Your custom configuration must specify at least one GRS service.
-
The configuration snippet above indicates GitHub as the default GRS service on GitPitch.com. If you launch your own GitPitch server instance you can set your own default GRS as appropriate.
####GitPitch Wiki TOC
####Slideshow Basics
####Slideshow Slide Types
####Slideshow Look and Feel
- Slideshow Settings
- Theme Setting
- Background Setting
- Logo Setting
- Highlight Setting
- Math Notation Setting
- Vertical Center Setting
- Slideshow Custom CSS
####Slideshow Behavior
####Slideshow Controls
####GitPitch Social
####Appendix