You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usage: bin/ontoportal {dev|test|run|help} [--reset-cache] [--api-url API_URL] [--api-key API_KEY]
dev : Start the Ontoportal Web UI development server.
Example: bin/ontoportal dev --api-url http://localhost:9393 --api-key my_api_key
Use --reset-cache to remove volumes: bin/ontoportal dev --reset-cache
test : Run tests. Specify either a test file:line_number or empty for 'all'.
Example: $0 test test/integration/login_flows_test.rb:22
run : Run a command in the Ontoportal Web UI Docker container.
help : Show this help message.
Description:
This script provides convenient commands for managing an Ontoportal Web UI
application using Docker Compose. It includes options for starting the development server,
running tests, and executing commands within the Ontoportal Web UI Docker container.
Goals:
- Simplify common tasks related to Ontoportal Web UI development using Docker.
- Provide a consistent and easy-to-use interface for common actions.
Run dev
bin/ontoportal dev --api-url <an ontoportal api url> --api-key <my_api_key>
Examples
With local api
bin/ontoportal dev --api-url http://localhost:9393 --api-key 1de0a270-29c5-4dda-b043-7c3580628cd5
With stageportal api
bin/ontoportal dev --api-url https://data.stageportal.lirmm.fr --api-key 1de0a270-29c5-4dda-b043-7c3580628cd5
Run test with a local OntoPortal API
bin/ontoportal test# Running all tests
./bin/ontoportal test test/system/submission_flows_test.rb # Running All tests from one file
./bin/ontoportal test test/system/submission_flows_test.rb:75 # Running speicif test which line 75 is inside