diff options
author | HampusM <hampus@hampusmat.com> | 2021-08-04 16:18:44 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2021-08-04 16:18:44 +0200 |
commit | 9f7c9103ae6ca7c3127b44a966300a8ea62b3454 (patch) | |
tree | 895768db7b82ba41937d47d362216817840842a4 /docs_src/installation.md | |
parent | eaf6ac44e7d38ff6cc71ca72bdaceed59b86c550 (diff) |
Renamed the documentation folder to docs_src
Diffstat (limited to 'docs_src/installation.md')
-rw-r--r-- | docs_src/installation.md | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/docs_src/installation.md b/docs_src/installation.md new file mode 100644 index 0000000..2c68650 --- /dev/null +++ b/docs_src/installation.md @@ -0,0 +1,43 @@ +## Requirements + +Githermit needs a multitude of packages to work properly. + +You'll need to have Git installed (obviously). You should be able to simply install this with your package manager.<br> +For example: + +`# apt-get install git` + +Githermit also requires NodeJS. You can find a comprehensive guide on how to install it in [the NodeJS documentation](https://nodejs.dev/download/package-manager/). + +And then there's a couple of packages that may or may not already be installed on your system. +- libpcre +- libpcreposix +- libkrb5 +- libk5crypto +- libcom_err +- libssl-dev + +## Setup + +You should now install the Javascript dependencies with Yarn. + +`$ yarn install` + +And finally, build the project. + +`$ yarn build` + +The final step is to create a file called `settings.yml` with the following content. +``` +host: (Host address) +port: (Port) +dev_port: (Port for development server) +production: (Set this to true unless you're doing changes to Githermit) +title: (Title of your Githermit instance) +about: (Short description of your Githermit instance) +base_dir: (Directory where all of your bare Git repositories are located) +``` + +## Starting +You can now run Githermit with +`$ yarn start`
\ No newline at end of file |