codespaces devcontainer config
This commit is contained in:
parent
6c47e108f7
commit
93dd8ed4f7
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"image": "mcr.microsoft.com/devcontainers/universal:2",
|
||||
"features": {
|
||||
},
|
||||
"postCreateCommand": "gem install --silent bashly && wget -q -O openrefine.tar.gz https://github.com/OpenRefine/OpenRefine/releases/download/3.7.6/openrefine-linux-3.7.6.tar.gz && tar --exclude 'licenses' --exclude 'LICENSE.txt' --exclude 'licenses.xml' --exclude 'README.md' -xzf openrefine.tar.gz --strip 1 && rm openrefine.tar.gz"
|
||||
}
|
22
.gitpod.yml
22
.gitpod.yml
|
@ -1,22 +0,0 @@
|
|||
# https://gitpod.io/#https://github.com/opencultureconsulting/orcli
|
||||
tasks:
|
||||
- name: install bashly and OpenRefine
|
||||
before: gem install --silent bashly
|
||||
init: |
|
||||
wget -q -O openrefine.tar.gz "https://oss.sonatype.org/service/local/artifact/maven/content?r=releases&g=org.openrefine&a=openrefine&v=3.6.2&c=linux&p=tar.gz"
|
||||
tar --exclude 'licenses' --exclude 'LICENSE.txt' --exclude 'licenses.xml' --exclude 'README.md' -xzf openrefine.tar.gz --strip 1
|
||||
rm openrefine.tar.gz
|
||||
command: |
|
||||
sudo ln -s "${PWD}/orcli" /usr/local/bin/
|
||||
source <(orcli completions)
|
||||
./refine
|
||||
|
||||
ports:
|
||||
- port: 3333
|
||||
onOpen: notify
|
||||
visibility: private
|
||||
|
||||
vscode:
|
||||
extensions:
|
||||
- timonwong.shellcheck
|
||||
- foxundermoon.shell-format
|
|
@ -4,7 +4,7 @@ Bash script to control OpenRefine via [its HTTP API](https://docs.openrefine.org
|
|||
|
||||
## Features
|
||||
|
||||
* works with latest OpenRefine version (currently 3.6)
|
||||
* works with latest OpenRefine version (currently 3.7)
|
||||
* run batch processes (import, transform, export)
|
||||
* orcli takes care of starting and stopping OpenRefine with temporary workspaces
|
||||
* allows execution of arbitrary bash scripts
|
||||
|
|
Loading…
Reference in New Issue