Skip to content

Commit 7c34061

Browse files
author
Juan Flores Muñoz
authored
Merge pull request #134 from micro-ROS/feature/demos_readme
Link demo tutorial to repositories
2 parents 4d7eda5 + 73d3169 commit 7c34061

12 files changed

Lines changed: 108 additions & 298 deletions

File tree

.devcontainer/Dockerfile

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#-------------------------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
4+
#-------------------------------------------------------------------------------------------------------------
5+
6+
# To fully customize the contents of this image, use the following Dockerfile instead:
7+
# https://github.com/microsoft/vscode-dev-containers/tree/v0.106.0/containers/ubuntu-18.04-git/.devcontainer/Dockerfile
8+
FROM mcr.microsoft.com/vscode/devcontainers/base:0-ubuntu-18.04
9+
10+
ENV DEBIAN_FRONTEND=noninteractive
11+
RUN apt-get update \
12+
&& apt-get -y install --no-install-recommends build-essential ruby ruby-dev locales zlib1g-dev \
13+
&& gem install bundler \
14+
#
15+
# Clean up
16+
&& apt-get autoremove -y \
17+
&& apt-get clean -y \
18+
&& rm -rf /var/lib/apt/lists/*
19+
20+
RUN echo "en_US UTF-8" > /etc/locale.gen \
21+
&& locale-gen en_US.UTF-8
22+
23+
ENV LANG=en_US.UTF-8
24+
ENV LANGUAGE=en_US:en
25+
ENV LC_ALL=en_US.UTF-8
26+
ENV DEBIAN_FRONTEND=dialog
27+
28+
# TEST COMMANDS:
29+
# bundle install
30+
# bundle exec jekyll serve
31+

.devcontainer/devcontainer.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at:
2+
// https://github.com/microsoft/vscode-dev-containers/tree/v0.106.0/containers/ubuntu-18.04-git
3+
{
4+
"name": "Ubuntu 18.04 & Git",
5+
"dockerFile": "Dockerfile",
6+
7+
// Set *default* container specific settings.json values on container create.
8+
"settings": {
9+
"terminal.integrated.shell.linux": "/bin/bash"
10+
},
11+
12+
// Add the IDs of extensions you want installed when the container is created.
13+
"extensions": []
14+
15+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
16+
// "forwardPorts": [],
17+
18+
// Use 'postCreateCommand' to run commands after the container is created.
19+
// "postCreateCommand": "uname -a",
20+
21+
// Uncomment to use the Docker CLI from inside the container. See https://aka.ms/vscode-remote/samples/docker-in-docker.
22+
// "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ],
23+
24+
// Uncomment when using a ptrace-based debugger like C++, Go, and Rust
25+
// "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
26+
"runArgs": [ "--net=host"],
27+
28+
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
29+
// "remoteUser": "vscode"
30+
}

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v1
15+
with:
16+
submodules: true
1517

1618
- name: Set up Ruby 2.7
1719
uses: actions/setup-ruby@v1

.gitmodules

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[submodule "_includes/crazyflie_demo"]
2+
path = _includes/crazyflie_demo
3+
url = https://github.com/micro-ROS/micro-ROS_crazyflie_demo
4+
branch = master
5+
[submodule "_includes/sensors_demo"]
6+
path = _includes/sensors_demo
7+
url = https://github.com/micro-ROS/micro-ROS_sensors_demo
8+
branch = master

_data/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,9 @@
4848
- title: Demos
4949
docs:
5050
- tutorials/demos/kobuki_demo
51+
- tutorials/demos/crazyflie_demo
5152
- tutorials/demos/tof_demo
5253
- tutorials/demos/fiware_demo
53-
- tutorials/demos/crazyflie_demo
5454
- tutorials/demos/complete_demo
5555

5656
- title: Advanced Tutorials with Nuttx

0 commit comments

Comments
 (0)