-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 89848fd
Showing
32 changed files
with
10,482 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
FROM paritytech/substrate-playground-template-base:sha-0793587 | ||
|
||
# Here the whole repo is already accessible at . (thanks to the inherited image) | ||
|
||
RUN cargo build --release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"name": "Substrate Node template", | ||
"dockerFile": "Dockerfile", | ||
"settings": { | ||
"terminal.integrated.shell.linux": "/bin/bash", | ||
"lldb.executable": "/usr/bin/lldb" | ||
}, | ||
"extensions": [ | ||
"rust-lang.rust", | ||
"bungcip.better-toml", | ||
"vadimcn.vscode-lldb" | ||
], | ||
"forwardPorts": [ | ||
3000, | ||
9944 | ||
], | ||
"image": "paritytech/substrate-playground-template-node-template:sha-c9fda53" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
name: Ask a Question | ||
about: Ask a question about this template. | ||
title: "" | ||
labels: question | ||
assignees: "" | ||
--- | ||
|
||
**Question** | ||
|
||
_Please include information such as the following: is your question to clarify an existing resource | ||
or are you asking about something new? what are you trying to accomplish? where have you looked for | ||
answers?_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
name: Report a Bug | ||
about: Report a problem with this template. | ||
title: "" | ||
labels: bug | ||
assignees: "" | ||
--- | ||
|
||
**Description** | ||
|
||
_Tell us what happened. In particular, be specific about any changes you made to this template. | ||
Ideally, provide a link to your project's GitHub repository. Please note that we are not able to | ||
support all conceivable changes to this template project, but the more information you are able to | ||
provide the more equipped we will be to help._ | ||
|
||
**Steps to Reproduce** | ||
|
||
_Replace the example steps below with actual steps to reproduce the bug you're reporting._ | ||
|
||
1. Go to '...' | ||
2. Click on '....' | ||
3. Scroll down to '....' | ||
4. See error | ||
|
||
**Expected vs. Actual Behavior** | ||
|
||
_What did you expect to happen after you followed the steps you described in the last section? What | ||
actually happened?_ | ||
|
||
**Environment** | ||
|
||
_Describe the environment in which you encountered this bug. Use the list below as a starting point | ||
and add additional information if you think it's relevant._ | ||
|
||
- Operating system: | ||
- Template version/tag: | ||
- Rust version (run `rustup show`): | ||
|
||
**Logs, Errors or Screenshots** | ||
|
||
_Please provide the text of any logs or errors that you experienced; if | ||
applicable, provide screenshots to help illustrate the problem._ | ||
|
||
**Additional Information** | ||
|
||
_Please add any other details that you think may help us solve your problem._ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
name: Suggest a Feature | ||
about: Suggest a new feature or an improvement to an existing feature for this template. | ||
title: "" | ||
labels: enhancement | ||
assignees: "" | ||
--- | ||
|
||
**Motivation** | ||
|
||
_Describe the need or frustration that motivated you to make this suggestion. Please note that the | ||
goal of this project is to provide a general-purpose template project, so please take care when | ||
suggesting features that may be specific to a particular use case._ | ||
|
||
**Suggested Solution** | ||
|
||
_Describe your suggested solution to the need or frustration that you are experiencing._ | ||
|
||
**Alternatives** | ||
|
||
_Describe any alternative solutions or features you considered and why you believe your suggested | ||
solution is preferable._ | ||
|
||
**Additional Information** | ||
|
||
_Provide any additional information that you believe may help us evaluate your suggestion._ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Build and Push template | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build-push-template: | ||
if: ${{ github.repository == 'substrate-developer-hub/substrate-node-template' }} | ||
runs-on: ubuntu-18.04 | ||
steps: | ||
- name: Trigger playground inclusion | ||
uses: peter-evans/repository-dispatch@v1 | ||
with: | ||
token: ${{ secrets.REPO_ACCESS_TOKEN }} | ||
repository: paritytech/substrate-playground | ||
event-type: template-updated | ||
client-payload: '{"id": "node-template"}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Generated by Cargo | ||
# will have compiled files and executables | ||
**/target/ | ||
# These are backup files generated by rustfmt | ||
**/*.rs.bk | ||
|
||
.DS_Store | ||
|
||
# The cache for docker container dependency | ||
.cargo | ||
|
||
# The cache for chain data in container | ||
.local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Run ", | ||
"type": "shell", | ||
"command": "cargo", | ||
"args": ["run", "--release", "--", "--dev"], | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
}, | ||
"presentation": { | ||
"reveal": "always", | ||
"panel": "new" | ||
}, | ||
"problemMatcher": [ | ||
{ | ||
"owner": "rust", | ||
"fileLocation": ["relative", "${workspaceRoot}"], | ||
"pattern": { | ||
"regexp": "^(.*):(\\d+):(\\d+):\\s+(\\d+):(\\d+)\\s+(warning|error):\\s+(.*)$", | ||
"file": 1, | ||
"line": 2, | ||
"column": 3, | ||
"endLine": 4, | ||
"endColumn": 5, | ||
"severity": 6, | ||
"message": 7 | ||
} | ||
} | ||
] | ||
} | ||
] | ||
} |
Oops, something went wrong.