You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
jebba 8f8a5119bb Build package on Debian Buster 2 weeks ago
.github Increase timeout for backend tests to 60 mins 2 weeks ago
docs Coinbasepro: Query orders and then all fills for their product ids 2 weeks ago
frontend Moves rounding settings under amount settings 4 weeks ago
packaging Adds an extra entitlement for the backend 2 months ago
rotkehlchen Coinbasepro: Query orders and then all fills for their product ids 2 weeks ago
stubs/Crypto Activate some more mypy rules and start using stubs 1 year ago
tools Handle deserialization errors 1 month ago
.bumpversion.cfg Bump version: 1.15.1 → 1.15.2 1 month ago
.codecov.yml Moves electron-app to frontend/app (#1041) 11 months ago
.coveragerc Add codecov coverage report 2 years ago
.dockerignore Fixes docker version being off 2 months ago
.gitattributes Adds fts3 flags to windows build 6 months ago
.gitignore Fixes sqlcipher and libcrypto packaging 6 months ago
.ignore Data faker now includes binance and can generates random trade pairs 2 years ago
.pylint.rc Specify ignored pylint rules 4 months ago
CONTRIBUTING.md Update link to docs 1 year ago
Dockerfile Updates CI to use node 14 and npm 7 1 month ago
LICENSE.md Update copyright to 2021 2 months ago
Makefile Small docker fixes 4 months ago
README-upstream.md deepcrayon rotki fork 2 weeks ago
README.md Build package on Debian Buster 2 weeks ago
install_deps.sh Enables packaging for linux and osx 6 months ago
package.ps1 Adds minimum visual studio version to ps1 1 month ago
package.sh Updates CI to use node 14 and npm 7 1 month ago
pytestgeventwrapper.py Propagate the exit code at pytestgeventwrapper 1 year ago
requirements.txt Use beautiful soup instead of regex for beaconcha.in scraping 2 months ago
requirements_dev.txt Update ethereum requirements 3 months ago
requirements_docs.txt Bump sphinx version 1 year ago
requirements_lint.txt Upgrade flake8 and its modules 1 month ago
rotkehlchen.spec Fix uniswap lp tokens inclusion in packaged version 5 months ago
setup.cfg Some more type definitions after putting __init__.py everywhere 1 year ago
setup.py Bump version: 1.15.1 → 1.15.2 1 month ago

README.md

Fork

Fork of Rotki.

Install

Install dependencies.

# sqlcipher. Debian Buster/Bullseye have ver 3, docs say ver 4 needed ?
sudo apt-get -y install libsqlcipher-dev

# npm
# Install npm version 7. In Buster backports and Bullseye.
sudo apt-get -y  install -t buster-backports npm
# or
sudo apt-get -y install npm
# Update... XXX cruftay
sudo mkdir /usr/local/lib/node_modules
sudo chown jebba:jebba /usr/local/lib/node_modules
sudo chown jebba:jebba /usr/local/bin
cd ~
npm install -g npm@7
# Ok, lets blow out the old one now... XXX
sudo apt-get autoremove npm

# nodejs
# Install nodejs. Ver 10.24.0 in Buster, 12.21.0 in Bullseye.
# >=14 <15 of node is required.
npm install -g node@14

Build Rotki.

git clone https://spacecruft.org/deepcrayon/rotki/
cd rotki
cd frontend/app
npm ci

cd ../..
sudo apt-get -y install python3-pip python3-virtualenv virtualenv
virtualenv --python /usr/bin/python3 .
source bin/activate
pip3 install -r requirements.txt
pip3 install -r requirements_dev.txt
pip3 install -e .

Run Rotki.

# more deps... XXX
sudo apt-get -y install libxshmfence1 libnss3 libatk1.0 libatk-bridge2.0-0 libdrm2 libgdk-pixbuf2.0-0 libgtk-3-0 libgbm1 libasound2 xauth
cd frontend/app
npm run electron:serve

Build Package.

# deps...
sudo apt install libssl-dev tcl tcl-dev libreadline-dev
cd
git clone https://github.com/sqlcipher/sqlcipher
cd sqlcipher

./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS" LDFLAGS="-lcrypto"

make
sudo make install
sudo ldconfig

cd ../rotki
virtualenv --python /usr/bin/python3 .
source bin/activate
./package.sh

Docker.

# Docker isn't required.
sudo apt-get remove docker docker-engine docker.io containerd runc

sudo apt-get -y install apt-transport-https ca-certificates curl gnupg lsb-release

curl -fsSL https://download.docker.com/linux/debian/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

echo \
  "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/debian \
  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

sudo apt-get update
sudo apt-get -y install docker-ce docker-ce-cli containerd.io

sudo adduser jebba docker

newgrp docker

Upstream

See README-upstream.md. Upstream Rotki repo: