Go to file
2018-02-26 01:53:55 -08:00
scss Improve ratio display 2017-12-29 02:07:40 -05:00
src Improve reducing and rendering performance 2018-02-26 01:53:55 -08:00
.babelrc Add redux and initial reducer 2017-08-20 11:59:41 -04:00
.build.yml Move deployed instance to /var/www/ 2017-11-26 10:43:52 -05:00
.gitignore Initial commit 2017-08-06 18:23:54 -04:00
.gitmodules Add torrent view, fix srht styles 2017-08-22 15:49:48 -04:00
font-awesome.config.js Implement add torrent 2017-08-24 09:50:14 -04:00
index.html Add charset 2017-11-05 16:36:56 -05:00
LICENSE 3-Clause BSD 2017-08-06 18:24:37 -04:00
package.json Flesh out filtering 2017-12-30 13:23:15 -05:00
README.md Flesh out README 2017-12-29 14:15:10 -05:00
serve.js Fix serving directly from paths under root 2017-08-24 08:44:18 -04:00
webpack.config.js Minify production builds 2017-09-09 16:22:23 +09:00

receptor

Web frontend for synapse.

A hosted instance is available at https://web.synapse-bt.org.

Installation

git submodule update --init --recursive
npm install
npm start

At this point you can navigate to http://localhost:3000 to make sure everything worked. At this point your configuration should be suitable for local development. For a production installation, press Ctrl-C and continue:

npm run build:production

Serve index.html and the dist/ directory as static content on your web server. You'll need to serve index.html for any route that would otherwise 404. Here's an example nginx configuration:

server {
    server_name web.synapse-bt.org;
    listen 80;
    
    location / {
        root /var/www/path/to/site;
        try_files $uri /index.html;
    }

    location /dist {
        root /var/www/path/to/site/dist;
    }
}