Polygon Dash contain two projects in a one repo:
- Python backend app
- Vue dashboard frontend
Polydash uses Poetry dependency manager.
- Install Poetry
curl -sSL https://install.python-poetry.org | python3 -
- Install dependencies
poetry install
- Enter Poetry-managed Python environment
poetry shell
- The shell should change to something like
(polydash-py3.10) ~/.../backend
. Now run Polydash as Python modulepython -m polydash
Run script to deploy:
```
./deploy_frontend.sh
```
-
Install NVM (Node Version Manager):
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
For MacOS run
source .zshrc
-
Install the latest LTS version of Node.js using NVM:
nvm install --lts
-
After running the above command, you can confirm your installation by checking the version of node:
node -v
npm install
npm run dev
npm run build
Lint with ESLint
npm run lint
Run up and rebuild backed
docker compose up --build