💃 Anime tracker, database and community. 194 Commits
2017-06-21 00:02:26 +02:00
.vscode Started working on scripts 2017-06-19 16:20:46 +02:00
auth Added Discord bot 2017-06-20 18:06:41 +02:00
images Renamed no-gravatar.svg to no-avatar.svg 2017-06-18 14:07:38 +02:00
jobs Discord bot fix 2017-06-21 00:02:26 +02:00
layout Started working on scripts 2017-06-19 16:20:46 +02:00
logs Added logs directory to git 2017-06-16 13:49:22 +02:00
middleware Added extra navigation and new pages 2017-06-18 17:16:40 +02:00
mixins Added functioning search 2017-06-20 22:54:45 +02:00
pages Added fuzzy search to Discord bot 2017-06-20 23:58:20 +02:00
patches Improved makefile 2017-06-16 15:42:22 +02:00
scripts Added search index 2017-06-20 23:27:14 +02:00
security Cleanup 2017-06-17 00:49:09 +02:00
styles Added search UI 2017-06-20 21:37:52 +02:00
utils Heavily improved sessions 2017-06-17 22:19:26 +02:00
.editorconfig Added editor config 2016-11-02 22:52:11 +09:00
.gitignore Heavily improved forum readability 2017-06-20 15:46:49 +02:00
assets.go Basic scripts implementation 2017-06-19 03:59:59 +02:00
config.json Added stylish mountable effect 2017-06-20 20:13:04 +02:00
main.go Fixed /anime page 2017-06-21 00:00:40 +02:00
makefile Fixed icons on dashboard 2017-06-18 12:50:15 +02:00
README.md Added SVG icons from Font Awesome 2017-06-16 18:12:18 +02:00
reset.scarlet Added extra navigation and new pages 2017-06-18 17:16:40 +02:00
rewrite.go Switched to net/http 2017-05-30 00:07:05 +02:00
tests.go General improvements 2017-06-20 14:16:23 +02:00
tsconfig.json Started working on scripts 2017-06-19 16:20:46 +02:00

Anime Notifier

Installation

Prerequisites

  • Install Go (1.9 or higher)
  • Install Aerospike (3.14.0 or higher)

Database

  • Remove all namespaces in /etc/aerospike/aerospike.conf
  • Add a namespace called arn:
namespace arn {
    storage-engine device {
        file /home/YOUR_NAME/YOUR_PATH/notify.moe/db/arn-dev.dat
        filesize 60M
        data-in-memory true

        # Maximum object size. 128K is ideal for SSDs
        write-block-size 128K

        # Write block size x Post write queue = Cache size (for write block buffers)
        post-write-queue 128
    }
}
  • Start the database using sudo service aerospike start
  • Confirm that the status is "green": sudo service aerospike status

Hosts

  • Add 127.0.0.1 arn-db to /etc/hosts
  • Add 127.0.0.1 beta.notify.moe to /etc/hosts

Download repository

  • go get github.com/animenotifier/notify.moe

HTTPS

  • Create directory notify.moe/security
  • Create the certificate notify.moe/security/fullchain.pem (domain: beta.notify.moe)
  • Create the private key notify.moe/security/privkey.pem
  • Add notify.moe/security/fullchain.pem

API keys

{
	"google": {
		"id": "YOUR_KEY",
		"secret": "YOUR_SECRET"
	}
}

Build all

  • Run make all

Fetch data

  • Run jobs/sync-anime/sync-anime from this repository to fetch anime data

Install pack & run

  • go install github.com/aerogo/pack
  • go install github.com/aerogo/run

Run

  • Start the web server in notify.moe directory: run