mv .env.local.example .env.local- Fill .env.local
npm inpm startnpm test- One time run all testsnpm run test:js- Run js tests watcher
make start- Start your docker container with dev servermake sh- Bash in your dev containermake logs- Show logsmake format- Runnpm run format
- Install Remote-Containers extension in VSCode
- Run Remote-Containers: Open Folder in Container... through command palette (F1 or Cmd-Shift-P)
- Wait until first build and install has completed (note: this can take a while - it might also help to increase the memory docker has been allocated)
- Open Terminal within VSCode (ctrl-`)
To start your local development you need to:
- Whitelist your domain
- Open
/etc/hosts - Add the following line:
127.0.0.1 local.santiment.net - Save the file
- Open
- In
.env.localadd the following lines
HTTPS=true
HOST='local.santiment.net' - Install mkcert
- Create your own certificate authority on your system
mkcert -install - Create a certificate for your custom domain and concatenate the two files
mkcert "127.0.0.1" "localhost" "local.santiment.net"
cat *-key.pem *.pem > server.pem - Create
/.certfolder and move the server.pem file into it in app root directory - Run
npm start
We use prettier-standard. eslint rules from standard and format by prettier. Setup your editor with prettier-standard lint rules - https://github.com/sheerun/prettier-standard
We're hiring developers, support people, and product managers all the time. Please check our open positions
Join thousands of members worldwide in our community server.
Any other questions, reach out to us at [email protected]. We’d happy to help!