COINCUBE | Crypto Portfolio Management
git clone https://github.com/coincubellc/coincube.git
Change to root directory
Fetch all submodules
git submodule update --init --recursive
Add CMC_API_KEY from Coin Market Cap
- Visit Coin Market Cap and signup for their free Basic API.
- Paste the API key into lines 46 and 72 in
docker-compose.yml. The key should be a string:
You'll need to securely generated a base64 encoded RSA Private key. This will be used to encrypt your API keys and other sensitive data in the database.
- From inside of the
backfolder, generate a new seed
python generate_vault_seed.pywhich will generate a new seed.
- Paste the entire encoded key except for the preceding 'b' as a string on lines 18 and 113 of
- These two lines should look something like:
You will need Docker.
Build the Docker container(s):
Run the Docker container(s):
The first time you run
docker-compose up you will need to wait for the database to be populated. This should take 10-15 minutes.
Compiles and hot-reloads for development
This is the way you should run the front-end for local use.
npm run serve
Compiles and minifies for production
If you plan to run in a production environment you'll want to use this command.
npm run build
Once front and back are running, navigate to: http://0.0.0.0:8080 in your browser.
To connect directly to the database