This repo contains highly experimental code. Expect rapid iteration.
cp .env.example .env
Then modify the values tagged with REPLACE_AT_INSTALLATION according to your personal accounts.
You can now run the project installation script:
make install
List all available commands:
make
Below are some examples of usage.
Start by cleaning your local env:
make docker/clean
Then, load the dump:
make db/load-fixtures
If the dump is out of date, you can update it with:
make db/update-staging-dump
See Hasura documentation.
For convenience, some commands are available from the root of the repo:
make hasura/start # Apply metadata and start the console
To run in development mode
yarn devTo run in development mode with the develop backend
yarn dev --mode backendyarn buildTo run build locally :
yarn previewTo view components in isolation using Storybook
yarn storybookTo generate types from the Hasura GraphQL schema during development
yarn generate --watchUse the HASURA_URL and HASURA_SECRET_KEY environment variables to connect to a custom Hasura environment
You'll need yq and jq
brew install yq jqTo update the list of supported languages (taken from Github) used to autocomplete technologies in the profile edit form
yarn update-languagesMake sure the docker is up and running. Then run the following command:
cargo test
yarn testmake app/background-start
make playwright/test
- To create a new migration, start running
diesel migration generate <your-migration-name>
- Edit the generated files with your SQL code for
up.sqlanddown.sql - Test your migration up and down by running
diesel migration run
diesel migration revert
diesel migration run
- The file
schema.rsshould be then automatically updated
To activate the GitGuardian pre-commit, you need first to connect to GitGuardian :
- follow the GitGuardian documentation to install their CLI : https://docs.gitguardian.com/ggshield-docs/getting-started
- authenticate to GitGuardian by running
ggshield auth login
Then, install GitGuardian pre-commit hook to check if some secrets are leaked inside the code base :
run pre-commit install
We use Datadog as a monitoring solution. Datadog agents and drains are configured using Terraform.
marketplace is released under MIT.
This project is tested with BrowserStack.

