Summary: Ref T2922 Reviewers: kuba-orlik Subscribers: jenkins-user Maniphest Tasks: T2922 Differential Revision: https://hub.sealcode.org/D1521
Sealious app
Requirements
- docker
- docker-compose (version 2.6 or up)
- tmux
Installation
npm install
Running the app in development mode
npx sealgen make-env
docker-compose up -d db mailcatcher meilisearch
npm run watch
Adding a component
npx sealgen add-component
And then go to localhost:8080/components
to preview your custom component
Testing
First time after installing the project run this command to download firefox
npx playwright install firefox
And then
npm run test
The tests don't run webhint by default - it's delegated to run on Jenkins.
If Jenkins complains about a webhint issue and you'd like to reproduce that on your local machine, run
npm run full-test
The tests run in pararell mode by default, to speed things up. Because of that, the
.only
syntax doesn't work. To run tests without pararell mode, run npm run full-test --serial
- you can then use the .only
syntax to run a particular test
Description
Languages
TypeScript
72.9%
CSS
24.3%
Shell
1.9%
JavaScript
0.7%
Dockerfile
0.2%