Skip to content

Latest commit

 

History

1,084 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Restorer

Restores snapshotted content back into Composer. The snapshotting itself is taken care of in flexible-snapshotter.

Before running locally

Set up

Install client-side dependencies and build JS/CSS

Tool versions (Node, Java, sbt, Scala) are pinned in .tool-versions and managed with mise. Install them once with mise install, then:

Run ./scripts/setup.

$ npm install
$ npm run build

# Alternatively to continuously watch for changes and rebuild
$ npm run dev

This project does not have hot module reloading so you will have to reload the page on Javascript or SCSS updates

Get credentials

Start the app

$ sbt
[restorer] $ run

The app will then be accessible locally at: https://restorer.local.dev-gutools.co.uk/

Run end-to-end tests headlessly

Use:

npm run test

Testing interactively

run npm run test:ui in your devcontainer terminal Open a browser on your host machine and point it at localhost:9323 to open the Playwright UI

Playwright discovers and runs the specs under e2e-tests/steps.

Run local stack only - no AWS credentials and all services mocked locally

If you want the same Testcontainers stack used by the e2e test without running the spec itself, use:

npm run dev:local

This starts LocalStack and Restorer using the same bootstrap code as the e2e suite and keeps the stack running until you press Ctrl+C.

About

Restore snapshotted content back into Composer

Topics

Resources

Code of conduct

Stars

0 stars

Watchers

15 watching

Forks

Releases

Packages

Used by

Contributors

Languages