Installation
The best way to use Chisel is by installing it yourself. This gives you the most privacy and control.
If you don't want to install Chisel, you can use the free online version: https://chiseleditor.com/register.html
You will need:
- An OpenAI key
- A Firebase account
- A machine with Node installed.
Then:
- Add your OpenAI key to
settings.example.js
. - Add your Firebase config to
settings.example.js
. - Add a salt to
settings.example.js
(tokenSalt
). - Rename
settings.example.js
tosettings.js
. - Get your
serviceAccountKey.json
from Firebase and save it in the root directory of your project. yarn
to install dependencies.
Running
yarn build
yarn start
Developing
You can use watch mode for faster development locally.
yarn watch # for webpack
yarn nodemon # for the server
Running tests
NODE_OPTIONS=--experimental-vm-modules yarn test
Integration tests
You'll first need to add login details for a real user in settings.js:
testuser: {
userid: '',
email: '',
password: ''
}
Now run:
yarn cypress
And follow the instructions.