@@ -46,14 +46,17 @@ in your computer by going to the project folder and running:
46
46
47
47
``` bash
48
48
./setup-testing-mode.sh # setup files for testing and download Docker images
49
- docker compose --profile dev up -d # start services and RStudio in detached mode
49
+ docker compose --profile dev up -d # start server in the `dev` profile and detached mode
50
50
```
51
51
52
52
You can now visit http://localhost in your web browser. The services should be
53
53
fully operational in about ~ 30 seconds. Specific services may only be accessible
54
54
via their port, e.g. http://localhost:8000 for plausible and
55
55
http://localhost:8787 for RStudio.
56
56
57
+ > [ !NOTE]
58
+ > Some services are only available in the ` dev ` profile (RStudio).
59
+
57
60
### Production environment
58
61
59
62
Some services are given a default email, user and/or password. The default ones
@@ -87,12 +90,16 @@ docker compose up -d # start services in detached mode
87
90
88
91
You can now visit http://localhost in your web browser.
89
92
90
- > Some services are only available in the ` dev ` profile (RStudio). To
91
- > run this profile, type:
92
- > ``` bash
93
- > docker compose --profile dev up -d
93
+ > [ !TIP]
94
+ > If you are using a remote machine, [ port forwarding] [ tunneling ] allows to access
95
+ > specific services in your browser. For instance, to access http://localhost:8000
96
+ > (plausible) in your browser, you first need to connect to the machine like so:
97
+ > ```
98
+ > ssh -L 8000:localhost:8000 [server]
94
99
> ```
95
100
101
+ [tunneling]: https://en.wikipedia.org/wiki/Port_forwarding
102
+
96
103
## Next steps
97
104
98
105
- [Add and update apps in ShinyProxy](shinyproxy)
0 commit comments