This repo holds the source code of the Gimlet.io website.
npm install
cp .env.example .env.local
Next, run the development server:
npm run dev
Finally, open http://localhost:3001 in your browser.
We use Algolia for search.
A Github Action runs daily that regenerates the search index from the live gimlet.io site.
First you need to put the Algolia admin keys to the .env.local
file.
Obtain the admin key from the Gimlet maintainers.
APPLICATION_ID=<APP_ID>
API_KEY=<ADMIN_API_KEY>
Then run the following oneliner:
docker run -it --env-file=.env.local -e "CONFIG=$(cat ./config.json | jq -r tostring)" algolia/docsearch-scraper
If you don't have jq, install it here: install jq, a lightweight command-line JSON processor
Content in the src/pages
folder are licensed under Apache License 2.0.