Hawk 2.0 web client
- Create
.envfile (use.env.samplefor example). - Run
yarn installto install all dependencies. - Run
yarn serveto run dev server.
- Create
.envfile (use.env.samplefor example). - Run
yarn installto install all dependencies. - Run
yarn buildto build the app. - Run
yarn serve:prodto run simple production server.
- Build image from
Dockerfile:docker image build . -t hawk_garage - Run container:
docker run -it -p 8080:8080 --rm hawk_garage
Storybook is a components explorer. It is used to explore components UI and behaviour and to develop them in isolation.
To add story, create a folder for component in src/storybook/stories. In a folder create .ts file for story and .mdx file for story docs.
To run storybook, use yarn storybook command
yarn lint:js- runs eslint to check files with.jsand.vueextensions.yarn lint:css- runs stylelint to check files with.cssand.vueextensions.yarn lint- runs both eslint and stylelint.
After updating Hawk GraphQL API scheme you should pull its schema (see file) for code highlighting and typechecking in queries.
Run yarn get-schema to load schema from local server
Source code is available under Business Source License 1.1 (BSL 1.1).
See LICENSE for terms, including: