A frontend for Trading Strategy protocol.
Node >=20.11 required.
npm 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:
npm 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:
npm run formatOur CI/CD pipeline runs the following chack on PRs or pushes to master:
npm run format:checkadapter-node will bundle devDependencies whereas dependencies must be installed when deploying to production.