Commit ae40a8bf authored by Ryan Herbert's avatar Ryan Herbert

server.md details about adding germline.js

includes commands to copy files to a container and commit the changes
for future use.
parent 2f619d0e
Pipeline #41467 passed with stage
in 5 seconds
......@@ -141,18 +141,33 @@ Everything should work out of the box for a local installation.
The container may be further configured to make it available to a whole network.
The following configuration files are found in the vidjil directory:
- `conf/conf.js` various variables for the vidjil browser
- `conf/defs.py` various variables for the vidjil server
- `conf/gzip.conf` configuration for gzip in nginx
- `conf/gzip_static`.conf same as the previous but for static resources
- `conf/uwsgi.ini` configuration required to run vidjil with uwsgi
- `sites/nginx` configuration required when running vidjil with nginx
- `scripts/nginx-entrypoint.sh` entrypoint for the nginx
- `vidjil-client/conf/conf.js` various variables for the vidjil browser
- `vidjil-client/conf/gzip.conf` configuration for gzip in nginx
- `vidjil-client/conf/gzip_static`.conf same as the previous but for static resources
- `vidjil-client/sites/nginx` configuration required when running vidjil with nginx
- `vidjil-client/scripts/nginx-entrypoint.sh` entrypoint for the nginx
- `service` (not currently in use)
- `scripts/uwsgi-entrypoint.sh` entrypoint for the uwsgi
- `vidjil-server/conf/defs.py` various variables for the vidjil server
- `vidjil-server/conf/uwsgi.ini` configuration required to run vidjil with uwsgi
- `vidjil-server/scripts/uwsgi-entrypoint.sh` entrypoint for the uwsgi
service. Ensures the owner of some relevant volumes are correct within
the container and starts uwsgi
You will need a valid `germline.js` file, that you can obtain by
[TODO XXXXXXXXXXXXXX].
Copy `germline.js` into your nginx container, by starting your container
(See Section Starting the environment):
```bash
docker ps # get the name or id of the nginx container (e.g docker_nginx_1 hereafter)
docker cp germline.js docker_nginx_1:/usr/share/vidjil/browser/js/germline.js
docker commit docker_nginx_1 vidjil/client:<version>
```
If you use a different version or repository name when committing your nginx container
don't forget to update your `docker-compose.yml` to ensure everything will
work next time your start your environment.
Here are some notable configuration changes you should consider:
- Change the mysql user/password in `docker-compose.yml`. You will also
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment