Phoenix is a rewrite of Fur Affinity in Node.js, in an attempt to improve security and maintainability. It sports a full redesign of code, user interface, and database.
To get started, create config.json
from config.sample.json
.
Phoenix will read its configuration from here.
sample/
contains sample Nginx configuration. You can get started quickly
with its Makefile:
$ cd sample
$ make
$ sudo make install NGINX_CONF_DIR=/path/to/nginx/conf/
Then import your new development CA from sample/ca.crt
, start Nginx,
add an /etc/hosts
(or equivalent) entry for ::1 local.furaffinity.net
,
and visit https://local.furaffinity.net/!
After running the first migration with node models/migrate
,
the database can be filled using node models/add-test-data
.
- Run
npm install
to install package dependencies from npm - Migrate the database with
node models/migrate
- Run the development server with
node develop