Skip to content

rovermicrover/siralim-ultimate-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Siralim Ultimate Dev

About

Compising Dev Repo for siralim-ultimate-api & siralim-ultimate-ui

How To Dev

Requirements

  1. Bash

  2. git

  3. Docker Compose

Walk Through To Get Dev ENV Started

Run

$ commands/dev-bootstrap

This will pull all services from their repos, bootstrap all their data, and then start running them via docker compose.

All app files are synced via docker-compose so you can just start deving and changes will show up automatically

The ui can then be accessed here

The api can then be accessed here

API End Points Swagger here

API End Points Redoc here

To startup the dev env without the data bootstraping simply run

$ commands/dev

How To Test

Requirements

  1. Bash

  2. git

  3. Docker Compose

  4. Do setup for dev

Walk Through To Run UI and API tests

Run

$ commands/test

The API tests than the UI tests will run.

Commands

1.$ commands/dev-bootstrap: Bootstrap the dev env and starts it up

2.$ commands/dev: Starts up the dev env

3.$ commands/dev-nuke: Destroy the dev env and start over from ground zero

3.$ commands/test: Run all the tests

API Commands

1.$ commands/api/ci: Run to check the API in its CI env before build and deploy

2.$ commands/api/import: Import game data from files

3.$ commands/api/lint: Lint the API code

4.$ commands/api/lint-check: Lint the API code and return 0 if lint fails

5.$ commands/api/migrate: Run outstanding DB migrations for the API

6.$ commands/api/test: Run the API tests

API Commands

1.$ commands/ui/ci: Run to check the UI in its CI env before build and deploy

3.$ commands/ui/lint: Lint the UI code

5.$ commands/ui/format-check: Format

6.$ commands/ui/test: Run the API tests

About

Compising Dev Repo For Siralim Ultimate Unofficial Codex

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages