File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -235,6 +235,45 @@ See the [documentation to run Solid using docker and docker-compose](https://git
235235
236236We have automatic builds set up, so commits to master will trigger a build of https://hub.docker.com/r/nodesolidserver/node-solid-server .
237237
238+ ### Development usage
239+
240+ If you want to use Docker in development, then you can build it locally with:
241+
242+ ``` bash
243+ git clone https://github.com/solid/node-solid-server
244+ cd node-solid-server
245+ docker build -t node-solid-server .
246+ ```
247+
248+ Run with:
249+ ``` bash
250+ docker run -p 8443:8443 --name solid node-solid-server
251+ ```
252+
253+ This will enable you to login to solid on https://localhost:8443 and then create a new account
254+ but not yet use that account. After a new account is made you will need to create an entry for
255+ it in your local (/etc/)hosts file in line with the account and subdomain, i.e. --
256+
257+ ``` pre
258+ 127.0.0.1 newsoliduser.localhost
259+ ```
260+
261+ You can modify the config within the docker container as follows:
262+
263+ - Copy the ` config.json ` to the current directory with:
264+ ``` bash
265+ docker cp solid:/usr/src/app/config.json .
266+ ```
267+ - Edit the ` config.json ` file
268+ - Copy the file back with
269+ ``` bash
270+ docker cp config.json solid:/usr/src/app/
271+ ```
272+ - Restart the server with
273+ ``` bash
274+ docker restart solid
275+ ```
276+
238277## Library Usage
239278
240279### Install Dependencies
You can’t perform that action at this time.
0 commit comments