mirror of
https://github.com/opencultureconsulting/orcli.git
synced 2025-04-13 00:00:49 +02:00
codespaces devcontainer config
This commit is contained in:
parent
6c47e108f7
commit
93dd8ed4f7
6
.devcontainer/devcontainer.json
Normal file
6
.devcontainer/devcontainer.json
Normal file
@ -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
|
## Features
|
||||||
|
|
||||||
* works with latest OpenRefine version (currently 3.6)
|
* works with latest OpenRefine version (currently 3.7)
|
||||||
* run batch processes (import, transform, export)
|
* run batch processes (import, transform, export)
|
||||||
* orcli takes care of starting and stopping OpenRefine with temporary workspaces
|
* orcli takes care of starting and stopping OpenRefine with temporary workspaces
|
||||||
* allows execution of arbitrary bash scripts
|
* allows execution of arbitrary bash scripts
|
||||||
|
2
orcli
2
orcli
@ -1,5 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
# This script was generated by bashly 1.0.3 (https://bashly.dannyb.co)
|
# This script was generated by bashly 1.1.1 (https://bashly.dannyb.co)
|
||||||
# Modifying it manually is not recommended
|
# Modifying it manually is not recommended
|
||||||
|
|
||||||
# :wrapper.bash3_bouncer
|
# :wrapper.bash3_bouncer
|
||||||
|
Loading…
x
Reference in New Issue
Block a user