💃 Anime tracker, database and community. 571 Commits
2017-07-16 07:50:57 +02:00
.vscode Updated VS Code search settings and popular anime page 2017-06-25 17:25:20 +02:00
auth Added status messages 2017-07-12 20:37:34 +02:00
benchmarks Explicit PrefetchAnime call 2017-07-05 14:34:33 +02:00
db Added gitignore for db folder 2017-06-21 19:34:59 +02:00
images Uploaded optimized image 2017-06-29 01:40:30 +02:00
jobs New statistics 2017-07-15 19:31:34 +02:00
layout Started working on service worker 2017-07-13 17:56:14 +02:00
logs Added logs directory to git 2017-06-16 13:49:22 +02:00
middleware Implemented music page 2017-06-27 16:23:57 +02:00
mixins Started implementing PayPal 2017-07-16 07:50:57 +02:00
pages Started implementing PayPal 2017-07-16 07:50:57 +02:00
patches New statistics 2017-07-15 19:31:34 +02:00
scripts Started implementing PayPal 2017-07-16 07:50:57 +02:00
security Cleanup 2017-06-17 00:49:09 +02:00
styles Added post like notification 2017-07-16 01:46:36 +02:00
sw Style changes 2017-07-15 18:51:25 +02:00
utils More fixes 2017-07-14 01:50:10 +02:00
.editorconfig Added editor config 2016-11-02 22:52:11 +09:00
.gitignore Added chrome extension 2017-07-05 04:10:19 +02:00
assets.go Started working on service worker 2017-07-13 17:56:14 +02:00
CODE_OF_CONDUCT.md Added code of conduct 2017-07-06 00:53:45 +02:00
config.json Changed forum-tags to tabs 2017-07-03 15:34:50 +02:00
CONTRIBUTING.md Added information for contributors 2017-07-06 00:57:27 +02:00
LICENSE Added license 2017-07-06 00:50:12 +02:00
main_test.go Improved search 2017-07-02 17:51:17 +02:00
main.go Started implementing PayPal 2017-07-16 07:50:57 +02:00
makefile Updated makefile 2017-07-06 01:51:42 +02:00
profiler.go Added chrome extension 2017-07-05 04:10:19 +02:00
README.md Updated makefile 2017-07-06 01:51:42 +02:00
rewrite.go Added forum post editing 2017-07-06 16:54:10 +02:00
tests.go Started implementing PayPal 2017-07-16 07:50:57 +02:00
tsconfig.json Started working on scripts 2017-06-19 16:20:46 +02:00

Anime Notifier

Info

notify.moe is powered by the Aero framework from the same author. The project also uses Go and Aerospike.

Installation

Prerequisites

  • Install a Debian based operating system
  • Install Go (1.9 or higher)
  • Install Aerospike (3.14.0 or higher)

Download the repository and its dependencies

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

Build all

  • Run make tools to install pack & run
  • Run make all
  • Run make ports to set up local port forwarding (80 to 4000, 443 to 4001)
  • You should be able to start the server by executing run now

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 64M
        data-in-memory true

        # Maximum object size. 128K is ideal for SSDs but we need 1M for search indices.
        write-block-size 1M

        # Write block size x Post write queue = Cache memory usage (for write block buffers)
        post-write-queue 1
    }
}
  • Download the database for developers to notify.moe/db/arn-dev.dat
  • 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

HTTPS

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

API keys

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

Fetch data

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

Run

  • Start the web server in notify.moe directory: run
  • Open https://beta.notify.moe which should now resolve to localhost