To run model bazaar locally follow the local setup instructions under local_setup/. Then navigate to thirdai_platform/ and follow the instructions in thirdai_platform/cmd/model_bazaar.
To run the model_bazaar unit tests you can navigate to the thirdai_platform/ directory and run go test ./model_bazaar/tests. To run a specific test pass the flag --run <name of test>, and to display output from tests (logs + print statements) pass the -v flag.
To run the integration tests you can navigate to the thirdai_platform/ directory and run go test ./integration_tests. To run a specific test pass the flag --run <name of test>, and to display output from tests (logs + print statements) pass the -v flag.
To run db migrations navigate to thirdai_platform/ and follow the instructions in thirdai_platform/cmd/migration.
Documentation is available in the docs/ directory.
From thirdai_platform/, the code is organized as follows:
/client
/cmd
/model_bazaar
/migrations
/model_bazaar
/auth
/config
/jobs
/licensing
/nomad
/schema
/services
/storage
/tests
/integration_tests
We are using these 3rd party libraries (all of which are fairly common and have thousands of stars on GitHub)
Python
34.7%
TypeScript
34.5%
Go
27.6%
JavaScript
1.2%
To run model bazaar locally follow the local setup instructions under local_setup/. Then navigate to thirdai_platform/ and follow the instructions in thirdai_platform/cmd/model_bazaar.
To run the model_bazaar unit tests you can navigate to the thirdai_platform/ directory and run go test ./model_bazaar/tests. To run a specific test pass the flag --run <name of test>, and to display output from tests (logs + print statements) pass the -v flag.
To run the integration tests you can navigate to the thirdai_platform/ directory and run go test ./integration_tests. To run a specific test pass the flag --run <name of test>, and to display output from tests (logs + print statements) pass the -v flag.
To run db migrations navigate to thirdai_platform/ and follow the instructions in thirdai_platform/cmd/migration.
Documentation is available in the docs/ directory.
From thirdai_platform/, the code is organized as follows:
/client
/cmd
/model_bazaar
/migrations
/model_bazaar
/auth
/config
/jobs
/licensing
/nomad
/schema
/services
/storage
/tests
/integration_tests
We are using these 3rd party libraries (all of which are fairly common and have thousands of stars on GitHub)
Python
34.7%
TypeScript
34.5%
Go
27.6%
JavaScript
1.2%