Go to file
2019-06-15 12:26:35 -04:00
scss Improve ratio display 2017-12-29 02:07:40 -05:00
src Sort with numeric compare on files 2019-06-15 12:26:35 -04:00
.babelrc Add redux and initial reducer 2017-08-20 11:59:41 -04:00
.build.yml Change .build.yml upstream to GitHub 2018-03-03 23:22:01 -05:00
.gitignore Initial commit 2017-08-06 18:23:54 -04:00
.gitmodules Edit sr.ht upstream 2018-07-13 21:41:32 -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 Update download token generation strategy 2019-03-14 23:06:32 -06: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 Fix default connection string 2018-03-08 17:19:52 -05: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;
    }
}