Go to file
cybafelo 9e856af759 start as TJ 2020-02-16 09:36:58 +01:00
build git branch 2020-02-14 11:52:55 +01:00
src start as TJ 2020-02-16 09:36:58 +01:00
.gitignore update 2018-11-18 09:43:00 +01:00
README.md markdown 2018-11-18 09:49:09 +01:00
gulpfile.js new beta config 2020-01-18 13:28:50 +01:00
package-lock.json move to build structure 2020-01-31 10:55:05 +01:00
package.json move to build structure 2020-01-31 10:55:05 +01:00

README.md

#R3 - Configuration Package

This package contains all R3 configuration variables which should be unique to each deployment of R3

#Authentication

 * config.js -> contains the client password
 * secure.js -> should only be included 'server' side and contains the server password.

For updates to the API to be successful (saving, deleting of components and uploads), these passwords have to match.

#Nginx Config

The nginx config for r3-api lives in this package under nginx subfolder. The default location for installation of all r3 packages is /usr/share/cybafelo.

When you install into this location (i.e. /usr/share/cybafelo/r3, /usr/share/cybafelo/r3-api ...) you will not have to modify the nginx configuration.

#SSL

For SSL web server deployments you are free to use the files:

 * cybafelo.local.cert.pem -> this is the certificate file in the nginx config
 * cybafelo.local.key.pem -> this is the private key used to generate the certificate

For your browser to accept this certificate and not display a red warning, you can import the following certificate chain file into the CA section of your browser options.

 * ca-chain.cert.pem

And no - R3 does NOT support the silly web browser from a giant corrupt software company that now owns github.com

#Hosts

The hosts file contains the host aliases for localhost - it allows the nginx config to determine the mode (live or development), application (r3-api, r3-editor, etc) and the domain associated with the SSL certificate (in our case cybafelo.local)