mirror of
https://github.com/bitcoinresearchkit/brk.git
synced 2026-05-30 02:09:26 -07:00
docker: snapshot
This commit is contained in:
@@ -5,7 +5,7 @@ ENV rpcport=8332
|
||||
ENV rpcuser=satoshi
|
||||
ENV rpcpassword=nakamoto
|
||||
|
||||
WORKDIR /container
|
||||
WORKDIR /
|
||||
COPY . .
|
||||
|
||||
CMD ["sh", "-c", "bash cmd.sh ${rpcconnect} ${rpcport} ${rpcuser} ${rpcpassword}"]
|
||||
CMD exec cargo run -r --manifest-path /kibo/parser/Cargo.toml -- --datadir=/bitcoin --rpcconnect=${rpcconnect} --rpcport=${rpcport} --rpcuser=${rpcuser} --rpcpassword=${rpcpassword}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
[[ -d "./kibo" ]] && sudo rm -r ./kibo
|
||||
git clone https://github.com/kibo-money/kibo.git
|
||||
|
||||
docker build -t kibo .
|
||||
docker build -t kibo-parser .
|
||||
|
||||
@@ -3,9 +3,9 @@ docker run \
|
||||
--env rpcpassword=nakamoto \
|
||||
--env rpcport=localhost \
|
||||
--env rpcport=8332 \
|
||||
--volume /tmp/kibo/datasets:/container/kibo/datasets \
|
||||
--volume /tmp/kibo/price:/container/kibo/price \
|
||||
--volume /tmp/kibo/outputs:/container/kibo/parser/out \
|
||||
--volume /tmp/kibo/datasets:/kibo/datasets \
|
||||
--volume /tmp/kibo/price:/kibo/price \
|
||||
--volume /tmp/kibo/outputs:/kibo/parser/out \
|
||||
--volume $HOME/Developer/bitcoin:/bitcoin \
|
||||
--net=host \
|
||||
kibo
|
||||
kibo-parser
|
||||
|
||||
@@ -2,7 +2,9 @@ use std::path::Path;
|
||||
|
||||
#[derive(PartialEq, Eq)]
|
||||
pub enum Extension {
|
||||
#[allow(clippy::upper_case_acronyms)]
|
||||
CSV,
|
||||
#[allow(clippy::upper_case_acronyms)]
|
||||
JSON,
|
||||
}
|
||||
|
||||
|
||||
@@ -34,8 +34,6 @@ pub trait HeaderMapUtils {
|
||||
fn insert_cache_control_revalidate(&mut self, max_age: u64, stale_while_revalidate: u64);
|
||||
fn insert_last_modified(&mut self, date: DateTime<Utc>);
|
||||
|
||||
fn insert_content_disposition_attachment(&mut self);
|
||||
|
||||
fn insert_content_type(&mut self, path: &Path);
|
||||
fn insert_content_type_image_icon(&mut self);
|
||||
fn insert_content_type_image_jpeg(&mut self);
|
||||
@@ -184,10 +182,6 @@ impl HeaderMapUtils for HeaderMap {
|
||||
);
|
||||
}
|
||||
|
||||
fn insert_content_disposition_attachment(&mut self) {
|
||||
self.insert(header::CONTENT_DISPOSITION, "attachment".parse().unwrap());
|
||||
}
|
||||
|
||||
fn insert_content_type_application_json(&mut self) {
|
||||
self.insert(header::CONTENT_TYPE, "application/json".parse().unwrap());
|
||||
}
|
||||
|
||||
@@ -238,8 +238,8 @@
|
||||
/* current: oklch(50% 0.01 44) */
|
||||
--dark-gray: #68625f;
|
||||
/* before: #30302b */
|
||||
/* current: oklch(30% 0.01 44) */
|
||||
--darker-gray: #322c2a;
|
||||
/* current: oklch(25% 0.01 44) */
|
||||
--darker-gray: #26201e;
|
||||
/* before: #10100e */
|
||||
/* current: oklch(17.5% 0.005 44) */
|
||||
--black: #12100f;
|
||||
@@ -890,7 +890,7 @@
|
||||
position: absolute;
|
||||
top: -12px;
|
||||
left: -1px;
|
||||
width: 9px;
|
||||
width: 10px;
|
||||
height: 1.75rem;
|
||||
border-color: var(--border-color);
|
||||
border-width: 0 0 1px 1px;
|
||||
@@ -920,7 +920,7 @@
|
||||
display: block;
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
height: 11.5px;
|
||||
height: 12.5px;
|
||||
border-color: var(--border-color);
|
||||
border-width: 0 0 0px 1px;
|
||||
}
|
||||
@@ -928,10 +928,10 @@
|
||||
|
||||
> span.marker {
|
||||
color: var(--border-color);
|
||||
font-size: var(--font-size-xs);
|
||||
line-height: var(--line-height-xs);
|
||||
font-size: var(--font-size-2xs);
|
||||
line-height: var(--line-height-2xs);
|
||||
z-index: 10;
|
||||
margin-left: -5px;
|
||||
margin-left: -4px;
|
||||
margin-bottom: 0.0625rem;
|
||||
}
|
||||
|
||||
|
||||
@@ -897,7 +897,7 @@ function createPartialOptions(colors) {
|
||||
description: "",
|
||||
top: [
|
||||
{
|
||||
title: `SMA`,
|
||||
title,
|
||||
color,
|
||||
datasetPath: valueDatasetPath,
|
||||
},
|
||||
@@ -996,7 +996,7 @@ function createPartialOptions(colors) {
|
||||
unit: "Ratio",
|
||||
top: [
|
||||
{
|
||||
title: `SMA`,
|
||||
title,
|
||||
color,
|
||||
datasetPath: valueDatasetPath,
|
||||
},
|
||||
|
||||
6
website/scripts/types/paths.d.ts
vendored
6
website/scripts/types/paths.d.ts
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user