TopBetta Website
To get started with the development environment, check out Setup Development Environment;
Documentation
Documentation of the TopBetta platform is on-going task. There is a combination of code level documentation, functional requirements and technical documentation
Functional Requirements
Can be typically found on TopBetta's google drive
Technical Documentation
All non code-level technical documentation can be found within the ./docs/
directory.
Commands
Once you are SSH'd into the vagrant box, you are able to run commands for various actions.
Install the right versions of software
yarn run setnode
Install latest dependencies
yarn install
Run the development server
The development server runs on port 9000 of the vagrant box. That port is also forwarded to port 9988.
yarn run serve
You should then be able to go to either
Run Storybook
yarn run storybook
Build for release
Before building for release, you must set production: true
in the env.js
Then start the build process
yarn run build
Serve the build
You are able to serve when you have build to test it works
yarn run serve:dist
Watch tests
TopBetta has a suit of tests, which can be watched by running
yarn run test