Go to file
Drew DeVault b27e49d57f
Merge pull request #45 from Luminarys/master
Add tracker searches
2018-03-14 08:33:15 -04:00
scss Improve ratio display 2017-12-29 02:07:40 -05:00
src Merge pull request #45 from Luminarys/master 2018-03-14 08:33:15 -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 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 Disable hot reloading on production builds 2018-03-03 15:41:22 -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 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;
    }
}