Skip to content

Commit b8fd1ed

Browse files
committed
Fixed numbering for local setup and made the screengrabs for local setup consistent
1 parent fa73bfe commit b8fd1ed

File tree

6 files changed

+29
-29
lines changed

6 files changed

+29
-29
lines changed

INIT

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/assets/rdev11.png

9.87 KB
Loading

docs/assets/rdev12.png

25.3 KB
Loading

docs/assets/rdev4.png

120 KB
Loading

docs/container_setup/local_setup/localsetup.md

Lines changed: 28 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -17,55 +17,58 @@ prerequisites installed.
1717

1818
1. Clone the [R Dev Container Github
1919
repo](https://github.com/r-devel/r-dev-env/)
20+
2021
2. In a terminal, change directory to r-dev-env
2122

22-
```bash
23-
cd r-dev-env
24-
```
23+
```bash
24+
cd r-dev-env
25+
```
2526

2627
3. Restart VSCode in the `r-dev-env` directory with the command:
2728

28-
```bash
29-
code .
30-
```
29+
```bash
30+
code .
31+
```
3132

3233
4. Checkout the main branch and pull the latest changes
3334

34-
```bash
35-
git checkout main
36-
git pull
37-
```
35+
```bash
36+
git checkout main
37+
git pull
38+
```
3839

39-
The main branch provides the stable release. If you require an in-development
40-
feature, use the devel branch instead.
40+
The main branch provides the stable release. If you require an in-development
41+
feature, use the devel branch instead.
4142

4243
5. After this step please be sure that your docker engine is started. If you
4344
have installed Docker Desktop just open the Docker Desktop app the engine
4445
starts automatically and if you are using just docker engine make sure to
4546
start it with the following command
4647

47-
```bash
48-
systemctl start docker
49-
```
48+
```bash
49+
systemctl start docker
50+
```
5051

5152
6. We can see pop-up at the bottom right of the VSCode editor which says reopen
52-
in Dev Container. Click on `Reopen in DevContainer` button. ![start
53-
localsetup](../../assets/rdev13.png)
53+
in Dev Container.
54+
Click on `Reopen in DevContainer` button.
55+
![startlocalsetup](../../assets/rdev13.png)
5456

5557
7. After clicking on that button we will see our container is getting ready. It
5658
will take some time. So till that time you can have coffee :) ![start
5759
localsetup](../../assets/rdev24.png)
5860

5961
8. We can also test whether the dev container is working or not by just printing
60-
the environment variables mentioned in the welcome message on the terminal.
62+
the environment variables mentioned in the welcome message on the terminal.
63+
64+
```console
65+
$ echo $BUILDDIR
66+
/workspaces/r-dev-env/bin/R
67+
```
6168

62-
```console
63-
$ echo $BUILDDIR
64-
/workspaces/r-dev-env/bin/R
65-
```
69+
And there we go!!! We have setup our R Dev Container locally. ![start
70+
localsetup](../../assets/rdev25.png)
6671

67-
And there we go!!! We have setup our R Dev Container locally. ![start
68-
localsetup](../../assets/rdev25.png)
6972

7073
9. The container will be closed when you close VSCode. To reopen the container,
71-
open the `r-dev-env` directory in VSCode.
74+
open the `r-dev-env` directory in VSCode.

docs/css/custom.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@
3434
.language-console.highlight code span.c1,
3535
.language-bash.highlight code span.c1 {
3636
color: var(--md-code-hl-comment-color);
37-
}
37+
}

0 commit comments

Comments
 (0)