You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
blallo 8f3d7cdbf8
Fix build script to include index.html
2 weeks ago
scss Improve ratio display 2 years ago
src Fix typo of synapse 4 months ago
.babelrc Add redux and initial reducer 2 years ago
.build.yml Change .build.yml upstream to GitHub 2 years ago
.dockerignore Add Dockerfile to build 2 weeks ago
.gitignore Initial commit 2 years ago
.gitmodules Edit sr.ht upstream 1 year ago
Dockerfile Add Dockerfile to build 2 weeks ago
LICENSE 3-Clause BSD 2 years ago
README.md Flesh out README 2 years ago
build.sh Fix build script to include index.html 2 weeks ago
font-awesome.config.js Implement add torrent 2 years ago
index.html Add charset 2 years ago
package.json Update a bunch of dependencies 2 months ago
serve.js Fix serving directly from paths under root 2 years ago
webpack.config.js Fix default connection string 2 years ago

README.md

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;
    }
}