Updated installation

This commit is contained in:
Eduard Urbach 2017-11-08 11:16:23 +01:00
parent 3549e371b2
commit 03e19ff4fb

View File

@ -6,16 +6,20 @@
* Install [Go](https://golang.org/dl/) (1.9 or higher) * Install [Go](https://golang.org/dl/) (1.9 or higher)
* Install [TypeScript](https://www.typescriptlang.org/) (2.5 or higher) * Install [TypeScript](https://www.typescriptlang.org/) (2.5 or higher)
## Download the repository and its dependencies ## Download the repository
* `go get github.com/animenotifier/notify.moe` * `go get github.com/animenotifier/notify.moe`
## Build all ## Build all
* Navigate to the project directory `notify.moe` * `cd $GOPATH/src/github.com/animenotifier/notify.moe`
* Run `make tools` to install [pack](https://github.com/aerogo/pack) & [run](https://github.com/aerogo/run) * `make tools` to install [pack](https://github.com/aerogo/pack) & [run](https://github.com/aerogo/run)
* Run `make ports` to set up local port forwarding *(80 to 4000, 443 to 4001)* * `make ports` to set up local port forwarding *(80 to 4000, 443 to 4001)*
* Run `make all` * `make all`
## Database
* `git clone https://github.com/animenotifier/database ~/.aero/db/arn`
## Hosts ## Hosts
@ -25,11 +29,6 @@
* Start Chrome via `google-chrome --ignore-certificate-errors` * Start Chrome via `google-chrome --ignore-certificate-errors`
## Database
* `git clone https://github.com/animenotifier/database $GOPATH/src/github.com/animenotifier/database`
* `ln -s $GOPATH/src/github.com/animenotifier/database ~/.aero/db/arn`
## Run ## Run
* Start the web server in notify.moe directory: `run` * Start the web server in notify.moe directory: `run`