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.
|
2 years ago | |
---|---|---|
scss | 2 years ago | |
src | 3 years ago | |
.babelrc | 6 years ago | |
.build.yml | 5 years ago | |
.dockerignore | 3 years ago | |
.gitignore | 6 years ago | |
.gitmodules | 5 years ago | |
Dockerfile | 3 years ago | |
LICENSE | 6 years ago | |
README.md | 5 years ago | |
build.sh | 3 years ago | |
font-awesome.config.js | 6 years ago | |
index.html | 5 years ago | |
package.json | 3 years ago | |
serve.js | 6 years ago | |
webpack.config.js | 5 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;
}
}