Skip to content

Commit 704514c

Browse files
committed
Add gitpod settings
1 parent bef34e9 commit 704514c

5 files changed

+25
-4
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
Build/
22
render.png
33
render.properties
4+
.vscode/settings.json

.gitpod.Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
FROM circuitdiagram/cli
2+
3+
# Install Java for VS Code XML extension
4+
RUN apt install -y default-jre

.gitpod.settings.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"circuitDiagram.executablePath": "/app/circuit-diagram-cli"
3+
}

.gitpod.yml

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
image:
2+
file: .gitpod.Dockerfile
3+
4+
vscode:
5+
extensions:
6+
- [email protected]:Ee8i34LAKx6EuDdj6d+0dg==
7+
8+
tasks:
9+
- init: mkdir ./.vscode && cp .gitpod.settings.json .vscode/settings.json

README.md

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# [Circuit Diagram](http://www.circuit-diagram.org/) Components
22

33
[![Build status](https://ci.appveyor.com/api/projects/status/5udo733v1fnn0pi8/branch/master?svg=true)](https://ci.appveyor.com/project/CircuitDiagram/components/branch/master)
4+
[![Gitpod Ready-to-Code](https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/circuitdiagram/components)
45

56
This repository contains components created by users of Circuit Diagram.
67

@@ -10,11 +11,14 @@ You can browse the full range of components and see what they look like when use
1011

1112
Please submit pull requests to this repository with new components you have created.
1213

13-
You can create new components using either:
14+
You can create new components using one of the following:
1415

15-
- The Visual Studio Code [extension](https://github.com/circuitdiagram/circuitdiagram-vscode)
16-
**(recommended)**
17-
- [Component Editor](https://componenteditor.com/), an online tool for creating components
16+
1. The Circuit Diagram Visual Studio Code
17+
[extension](https://github.com/circuitdiagram/circuitdiagram-vscode)
18+
2. [GitPod](https://gitpod.io/#https://github.com/circuitdiagram/components) - an in-browser
19+
environment for creating components
20+
3. The [Circuit Diagram CLI](https://www.circuit-diagram.org/downloads) with a text editor of your
21+
choice
1822

1923
The Component Editor website contains [documentation](https://componenteditor.com/help/) to get
2024
started making components.

0 commit comments

Comments
 (0)