diff --git a/Dockerfile b/Dockerfile index 02b9708..ba4f5ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,6 @@ -FROM recksato/robosats-client:v0.5.0-alpha -RUN apt-get update && apt-get install wget curl sudo bash tini -y -RUN wget https://github.com/mikefarah/yq/releases/download/v4.6.3/yq_linux_amd64.tar.gz -O - |\ - tar xz && mv yq_linux_amd64 /usr/bin/yq +FROM recksato/robosats-client:v0.5.1-alpha +RUN apk add bash curl sudo tini wget yq; \ + rm -f /var/cache/apk/* ENV APP_HOST robosats.embassy ENV APP_PORT 12596 diff --git a/README.md b/README.md index 8280bb3..04eb681 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,16 @@ # Wrapper for RoboSats - RoboSats is a simple and private bitcoin exchange ## Dependencies - - [docker](https://docs.docker.com/get-docker) - [docker-buildx](https://docs.docker.com/buildx/working-with-buildx/) - [yq](https://mikefarah.gitbook.io/yq) - [deno](https://deno.land/) - [make](https://www.gnu.org/software/make/) -- [embassy-sdk](https://github.com/Start9Labs/embassy-os/tree/master/backend) +- [embassy-sdk](https://github.com/Start9Labs/start-os/tree/master/backend) ## Build enviroment -Prepare your EmbassyOS build enviroment. In this example we are using Ubuntu 20.04. +Prepare your StartOS build enviroment. In this example we are using Ubuntu 20.04. 1. Install docker ``` @@ -50,15 +48,14 @@ source $HOME/.cargo/env ``` 8. Build and install embassy-sdk ``` -cd ~/ && git clone --recursive https://github.com/Start9Labs/embassy-os.git -cd embassy-os/backend/ +cd ~/ && git clone --recursive https://github.com/Start9Labs/start-os.git +cd start-os/backend/ ./install-sdk.sh embassy-sdk init ``` Now you are ready to build your **robosats** service ## Cloning - Clone the project locally. ``` @@ -67,26 +64,23 @@ cd robosats-wrapper ``` ## Building - To build the service, run the following command: ``` make ``` -## Installing (on Embassy) - +## Installing (on Start9 servers) Run the following commands to determine successful install: -> :information_source: Change embassy-q1w2e3r4.local to your Embassy address +> :information_source: Change .local to your Start9 server address ``` embassy-cli auth login -#Enter your embassy password -embassy-cli --host https://embassy-q1w2e3r4.local package install robosats.s9pk +#Enter your Start9 server master password +embassy-cli --host https://.local package install robosats.s9pk ``` -**Tip:** You can also install the robosats.s9pk using **Sideload Service** under the **Embassy > SETTINGS** section. +**Tip:** You can also install the robosats.s9pk using **Sideload Service** under the **System > Settings** section. ## Verify Install - -Go to your Embassy Services page, select RoboSats, configure and start the service. +Go to your Start9 server's Services page, select RoboSats, configure and start the service. **Done!** diff --git a/manifest.yaml b/manifest.yaml index caafda0..e4a8647 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -1,9 +1,9 @@ id: robosats title: "RoboSats" -version: 0.5.0 +version: 0.5.1 release-notes: | - * Updated to v0.5.0-alpha [Release Notes](https://github.com/Reckless-Satoshi/robosats/releases/tag/v0.5.0-alpha) - * Updated build instructions in README + * Updated to v0.5.1-alpha [Release Notes](https://github.com/Reckless-Satoshi/robosats/releases/tag/v0.5.1-alpha) + * Updated to StartOS references license: mit wrapper-repo: "https://github.com/kn0wmad/robosats-wrapper" upstream-repo: "https://github.com/Reckless-Satoshi/robosats" @@ -12,7 +12,7 @@ marketing-site: "https://learn.robosats.com/" donation-url: "https://learn.robosats.com/contribute/donate/" # The series of commands to build the project into an s9pk for arm64/v8. In this case we are using a Makefile with the simple build command "make". build: ["make"] -# Human readable descriptors for the service. These are used throughout the EmbassyOS user interface, primarily in the marketplace. +# Human readable descriptors for the service. These are used throughout the StartOS user interface, primarily in the marketplace. description: # This is the first description visible to the user in the marketplace. short: A simple and private bitcoin exchange diff --git a/prepare.sh b/prepare.sh index 02877c2..8463373 100755 --- a/prepare.sh +++ b/prepare.sh @@ -5,4 +5,4 @@ wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O chmod +x /usr/bin/yq # install deno -cargo install deno \ No newline at end of file +cargo install deno diff --git a/scripts/procedures/getConfig.ts b/scripts/procedures/getConfig.ts index 5bab2db..97e43d7 100644 --- a/scripts/procedures/getConfig.ts +++ b/scripts/procedures/getConfig.ts @@ -1,4 +1,4 @@ -// To utilize the default config system built, this file is required. It defines the *structure* of the configuration file. These structured options display as changeable UI elements within the "Config" section of the service details page in the Embassy UI. +// To utilize the default config system built, this file is required. It defines the *structure* of the configuration file. These structured options display as changeable UI elements within the "Config" section of the service details page in the StartOS UI. import { compat, types as T } from "../deps.ts"; diff --git a/scripts/procedures/migrations.ts b/scripts/procedures/migrations.ts index d127335..30b2018 100644 --- a/scripts/procedures/migrations.ts +++ b/scripts/procedures/migrations.ts @@ -1,4 +1,4 @@ import { compat, types as T } from "../deps.ts"; export const migration: T.ExpectedExports.migration = compat.migrations - .fromMapping({}, "0.5.0" ); + .fromMapping({}, "0.5.1" );