yarn install
to install dependenciesyarn start
to run the server locally at localhost:3000
yarn lint
to check that there are no linter errors, otherwise the site will not compileyarn build
to create a new production build in thebuild
folder
- Run the backend Docker containers locally
- To interact with the API server properly, the browser needs to have CORS disabled
- To run Chrome without CORS
- MacOS -
open -n -a /Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome --args --user-data-dir="/tmp/chrome_dev_test" --disable-web-security
- Windows 10 -
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-web-security --disable-gpu --user-data-dir=~/chromeTemp
- Linux -
google-chrome --disable-web-security
- MacOS -