Go to file
2021-02-26 00:27:47 +01:00
scss Update scss/srht 2021-02-26 00:27:47 +01:00
src Fix typo of synapse 2019-12-01 10:25:06 -05: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
.dockerignore Add Dockerfile to build 2020-03-12 21:13:56 +01: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
build.sh Fix build script to include index.html 2020-03-13 23:24:39 +01:00
Dockerfile Add Dockerfile to build 2020-03-12 21:13:56 +01: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 a bunch of dependencies 2020-01-06 21:11:33 -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;
    }
}