mirror of
https://github.com/RoboSats/robosats-startos.git
synced 2026-01-21 09:14:19 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| fc34714068 | |||
| 792eb41501 | |||
| e0c5ca2546 |
@ -1,7 +1,6 @@
|
|||||||
FROM recksato/robosats-client:v0.4.3-alpha
|
FROM recksato/robosats-client:v0.5.2-alpha
|
||||||
RUN apt-get update && apt-get install wget curl sudo bash tini -y
|
RUN apk add bash curl sudo tini wget yq; \
|
||||||
RUN wget https://github.com/mikefarah/yq/releases/download/v4.6.3/yq_linux_amd64.tar.gz -O - |\
|
rm -f /var/cache/apk/*
|
||||||
tar xz && mv yq_linux_amd64 /usr/bin/yq
|
|
||||||
|
|
||||||
ENV APP_HOST robosats.embassy
|
ENV APP_HOST robosats.embassy
|
||||||
ENV APP_PORT 12596
|
ENV APP_PORT 12596
|
||||||
|
|||||||
31
README.md
31
README.md
@ -1,18 +1,16 @@
|
|||||||
# Wrapper for RoboSats
|
# Wrapper for RoboSats
|
||||||
|
|
||||||
RoboSats is a simple and private bitcoin exchange
|
RoboSats is a simple and private bitcoin exchange
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
- [docker](https://docs.docker.com/get-docker)
|
- [docker](https://docs.docker.com/get-docker)
|
||||||
- [docker-buildx](https://docs.docker.com/buildx/working-with-buildx/)
|
- [docker-buildx](https://docs.docker.com/buildx/working-with-buildx/)
|
||||||
- [yq](https://mikefarah.gitbook.io/yq)
|
- [yq](https://mikefarah.gitbook.io/yq)
|
||||||
- [deno](https://deno.land/)
|
- [deno](https://deno.land/)
|
||||||
- [make](https://www.gnu.org/software/make/)
|
- [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
|
## 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
|
1. Install docker
|
||||||
```
|
```
|
||||||
@ -31,11 +29,12 @@ docker run --privileged --rm linuxkit/binfmt:v0.8
|
|||||||
```
|
```
|
||||||
4. Install yq
|
4. Install yq
|
||||||
```
|
```
|
||||||
sudo snap install yq
|
wget https://github.com/mikefarah/yq/releases/download/${VERSION}/${BINARY}.tar.gz -O - |\
|
||||||
|
tar xz && mv ${BINARY} /usr/bin/yq
|
||||||
```
|
```
|
||||||
5. Install deno
|
5. Install deno
|
||||||
```
|
```
|
||||||
sudo snap install deno
|
cargo install deno
|
||||||
```
|
```
|
||||||
6. Install essentials build packages
|
6. Install essentials build packages
|
||||||
```
|
```
|
||||||
@ -49,15 +48,14 @@ source $HOME/.cargo/env
|
|||||||
```
|
```
|
||||||
8. Build and install embassy-sdk
|
8. Build and install embassy-sdk
|
||||||
```
|
```
|
||||||
cd ~/ && git clone --recursive https://github.com/Start9Labs/embassy-os.git
|
cd ~/ && git clone --recursive https://github.com/Start9Labs/start-os.git
|
||||||
cd embassy-os/backend/
|
cd start-os/backend/
|
||||||
./install-sdk.sh
|
./install-sdk.sh
|
||||||
embassy-sdk init
|
embassy-sdk init
|
||||||
```
|
```
|
||||||
Now you are ready to build your **robosats** service
|
Now you are ready to build your **robosats** service
|
||||||
|
|
||||||
## Cloning
|
## Cloning
|
||||||
|
|
||||||
Clone the project locally.
|
Clone the project locally.
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -66,26 +64,23 @@ cd robosats-wrapper
|
|||||||
```
|
```
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
|
||||||
To build the service, run the following command:
|
To build the service, run the following command:
|
||||||
|
|
||||||
```
|
```
|
||||||
make
|
make
|
||||||
```
|
```
|
||||||
|
|
||||||
## Installing (on Embassy)
|
## Installing (on Start9 servers)
|
||||||
|
|
||||||
Run the following commands to determine successful install:
|
Run the following commands to determine successful install:
|
||||||
> :information_source: Change embassy-q1w2e3r4.local to your Embassy address
|
> :information_source: Change <SERVER-NAME>.local to your Start9 server address
|
||||||
|
|
||||||
```
|
```
|
||||||
embassy-cli auth login
|
embassy-cli auth login
|
||||||
#Enter your embassy password
|
#Enter your Start9 server master password
|
||||||
embassy-cli --host https://embassy-q1w2e3r4.local package install robosats.s9pk
|
embassy-cli --host https://<SERVER-NAME>.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
|
## Verify Install
|
||||||
|
Go to your Start9 server's Services page, select RoboSats, configure and start the service.
|
||||||
Go to your Embassy Services page, select RoboSats, configure and start the service.
|
|
||||||
|
|
||||||
**Done!**
|
**Done!**
|
||||||
|
|||||||
@ -1,9 +1,8 @@
|
|||||||
id: robosats
|
id: robosats
|
||||||
title: "RoboSats"
|
title: "RoboSats"
|
||||||
version: 0.4.3.1
|
version: 0.5.2
|
||||||
release-notes: |
|
release-notes: |
|
||||||
* Updated to v0.4.3-alpha [Release Notes](https://github.com/Reckless-Satoshi/robosats/releases/tag/v0.4.3-alpha)
|
* Updated to v0.5.2-alpha [Release Notes](https://github.com/Reckless-Satoshi/robosats/releases/tag/v0.5.2-alpha)
|
||||||
* Added Donation Link for RoboSats team
|
|
||||||
license: mit
|
license: mit
|
||||||
wrapper-repo: "https://github.com/kn0wmad/robosats-wrapper"
|
wrapper-repo: "https://github.com/kn0wmad/robosats-wrapper"
|
||||||
upstream-repo: "https://github.com/Reckless-Satoshi/robosats"
|
upstream-repo: "https://github.com/Reckless-Satoshi/robosats"
|
||||||
@ -12,7 +11,7 @@ marketing-site: "https://learn.robosats.com/"
|
|||||||
donation-url: "https://learn.robosats.com/contribute/donate/"
|
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".
|
# 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"]
|
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:
|
description:
|
||||||
# This is the first description visible to the user in the marketplace.
|
# This is the first description visible to the user in the marketplace.
|
||||||
short: A simple and private bitcoin exchange
|
short: A simple and private bitcoin exchange
|
||||||
|
|||||||
8
prepare.sh
Executable file
8
prepare.sh
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# install yq
|
||||||
|
wget https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64 -O /usr/bin/yq &&\
|
||||||
|
chmod +x /usr/bin/yq
|
||||||
|
|
||||||
|
# install deno
|
||||||
|
cargo install deno
|
||||||
@ -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";
|
import { compat, types as T } from "../deps.ts";
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import { compat, types as T } from "../deps.ts";
|
import { compat, types as T } from "../deps.ts";
|
||||||
|
|
||||||
export const migration: T.ExpectedExports.migration = compat.migrations
|
export const migration: T.ExpectedExports.migration = compat.migrations
|
||||||
.fromMapping({}, "0.4.3.1" );
|
.fromMapping({}, "0.5.2" );
|
||||||
|
|||||||
Reference in New Issue
Block a user