Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

Commit

Permalink
docs - update the README
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Selman <[email protected]>
  • Loading branch information
dselman committed Jul 31, 2020
1 parent 9fe32ca commit 59e3c23
Show file tree
Hide file tree
Showing 12 changed files with 115 additions and 392 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ node_modules
log
client/out
server/out

.DS_Store
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
## Change Log

### 0.21.5

- Updated the README

### 0.21.4

- Fixed packaging issue with export CTA and download models commands
Expand Down
81 changes: 80 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,83 @@
## ❗ Accord Project Contribution Guide ❗
We'd love for you to contribute to our source code and to make Accord Project Cicero VSCode Extension technology even better than it is today! Please refer to the [Accord Project Contribution guidelines][apcontribute] we'd like you to follow.

[apcontribute]: https://github.com/accordproject/techdocs/blob/master/CONTRIBUTING.md
[apcontribute]: https://github.com/accordproject/techdocs/blob/master/CONTRIBUTING.md

## Contributors

Please update CHANGELOG.md when you make changes.

### Code Structure

```
.
├── client // Language Client
│ ├── src
│ │ ├── test // End to End tests for Language Client / Server
│ │ └── extension.ts // Language Client entry point
├── package.json // The extension manifest.
└── server // Language Server
└── src
└── server.ts // Language Server entry point
```

### Running

- Run `npm install` in this folder. This installs all necessary npm modules in both the client and server folder
- Open VS Code on this folder.
- Press Ctrl+Shift+B to compile the client and server.
- Switch to the Debug viewlet.
- Select `Launch Client` from the drop down.
- Run the launch config.
- If you want to debug the server as well use the launch configuration `Attach to Server`

### Manual Build and Install

Generate the installable VSIX file:

```
git clone https://github.com/accordproject/cicero-vscode-extension.git
npm install
npm run package:vsix
```

1. Launch VSCode
2. View > Extensions
3. Press the ... and select "Install from VSIX"
4. Browse to the VSIX file
5. Install and restart VSCode
6. Open a .cto or .ergo file

### Travis CI build

Developers no longer need a manual build, once you have created a pull request from your private Github repository. The build will be automatically performed by Travis.
A successful build will create an installable VSIX file on the build machine.
The public release version number is defined in the package.json file. The 3 package.json files should all have the same version number (root/client and server).

#### Publish Release

Below are steps for publishing a release.

1. Go to https://github.com/accordproject/cicero-vscode-extension
2. Click Releases tab
3. Click Draft a new release on the right
4. Type a Tag version in the Tag version field. e.g. v0.5.7.1
5. Type a Release title in the Release title field e.g v0.5.7.1
6. Provide a short description of this release under the Write tab
7. Uncheck the box for This is a pre-release at the end of this page
8. Click Publish release button to publish the VSIX file to the VSCode Marketplace

#### Check the published release

1. Go to the VSCode Marketplace: https://marketplace.visualstudio.com/
2. Type Accord Project in the search field and hit return key or search button
3. This will bring you to https://marketplace.visualstudio.com/search?term=Accord%20Project&target=VSCode&category=All%20categories&sortBy=Relevance

#### Install a new release

1. Open Visual Studio Code in your desktop
2. Open the Extensions by View-->Extensions or Ctrl(cmd)+Shift+x
3. Search for Accord Project
4. The new published Accord Project plugin is showing on the list
5. Click Install button to install it
6. Update button will be shown if you have already installed the same plugin before.
408 changes: 24 additions & 384 deletions README.md

Large diffs are not rendered by default.

Binary file added assets/VSCodeImage.afphoto
Binary file not shown.
Binary file added assets/VSCodeImage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Accord Project extension for Visual Studio Code, providing tools for template development.",
"author": "Accord Project",
"license": "Apache-2.0",
"version": "0.21.4",
"version": "0.21.5",
"publisher": "accordproject",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Accord Project extension for Visual Studio Code, providing tools for template development.",
"author": "Accord Project",
"license": "Apache-2.0",
"version": "0.21.4",
"version": "0.21.5",
"icon": "icon.png",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cicero-vscode-extension-server",
"description": "A language server for Accord Project templates",
"version": "0.21.4",
"version": "0.21.5",
"license": "Apache-2.0",
"engines": {
"node": "*"
Expand Down

0 comments on commit 59e3c23

Please sign in to comment.