2017-11-01 11:27:30 +01:00
|
|
|
# Installation
|
2017-07-17 05:05:44 +02:00
|
|
|
|
2017-11-12 10:34:52 +01:00
|
|
|
## Youtube guide
|
|
|
|
|
|
|
|
[](https://www.youtube.com/watch?v=c6e-F51e_8w&=&t=3m42s)
|
|
|
|
|
2017-11-01 11:27:30 +01:00
|
|
|
## Prerequisites
|
2017-07-17 05:05:44 +02:00
|
|
|
|
2017-11-08 12:18:26 +01:00
|
|
|
* Install [Ubuntu](https://www.ubuntu.com/) or [MacOS](https://en.wikipedia.org/wiki/MacOS)
|
2017-07-17 05:05:44 +02:00
|
|
|
* Install [Go](https://golang.org/dl/) (1.9 or higher)
|
2017-11-08 12:18:26 +01:00
|
|
|
* Install [TypeScript](https://www.typescriptlang.org/) (2.6 or higher)
|
2018-04-10 02:35:00 +02:00
|
|
|
* Install [Git LFS](https://git-lfs.github.com/)
|
|
|
|
|
2018-04-10 12:37:59 +02:00
|
|
|
## Confirm that prerequisites are installed
|
2018-04-10 02:35:00 +02:00
|
|
|
|
|
|
|
```bash
|
|
|
|
go version
|
|
|
|
tsc --version
|
|
|
|
git lfs version
|
|
|
|
```
|
2017-07-17 05:05:44 +02:00
|
|
|
|
2018-04-10 12:37:59 +02:00
|
|
|
## Start the installation
|
2017-07-17 05:05:44 +02:00
|
|
|
|
2018-04-10 12:37:59 +02:00
|
|
|
```bash
|
|
|
|
curl -s https://raw.githubusercontent.com/animenotifier/notify.moe/go/install.sh | sudo bash
|
|
|
|
```
|
2017-10-26 00:04:32 +02:00
|
|
|
|
2018-04-10 12:37:59 +02:00
|
|
|
## Run the server
|
2017-07-17 05:05:44 +02:00
|
|
|
|
|
|
|
* Start the web server in notify.moe directory: `run`
|
2018-04-10 02:35:00 +02:00
|
|
|
* Open `https://beta.notify.moe` which should now resolve to localhost
|