A frontend for Trading Strategy protocol.
Node >=20.19 required.
# Enable pnpm via corepack (recommended)
corepack enable
# Verify installation
pnpm --versionpnpm installfrontend has one submodule dependency installed under deps:
fonts- optional licensed fonts (seestatic/fonts5.cssandsrc/lib/components/css/typography.css)
If you have access to the private tradingstrategy-ai/fonts, initialize and install submodules:
git submodule update --init --recursiveOnce the submodule has been installed, a build step needs to be run in order to have a fully working environment. Run the following script:
bash scripts/build-deps.shEnvironment variables required by the app are maintained in a .env file. Read about about
magic VITE envs.
Start the SvelteKit development server:
pnpm run devWe are using Prettier for code formatting. Extensions are available for most code editors / IDEs (see "Editor Support" on Prettier homepage).
If you prefer not to have your editor do automatic formatting, please run the following command and commit properly formatted code before pushing a PR:
pnpm run formatOur CI/CD pipeline runs the following chack on PRs or pushes to master:
pnpm run format:checkadapter-node will bundle devDependencies whereas dependencies must be installed when deploying to production.