We use yarn as dependency manager (instead of npm) so you need to install it and run yarn
after downloading this code. If you're using Windows, you should install developer tools by using npm install --global --production windows-build-tools
from an elevated PowerShell or CMD.exe (run as Administrator).
Run yarn start
(will use staging backend).
Alternatively, install freefeed-server and set the FRF_API_ROOT
environment variable if you need to work with local backend.
You can also use custom local configuration file or additional environment variables to override default settings. FreeFeed uses the config npm module to manage the configuration. Please read it documentation to learn how add custom settings.
yarn test
will build test-suite and run the testsyarn lint
will check if sourcecode complies to the coding guidelines
yarn build-prod
will build a production version in the_dist
folder