- Grab a release
- Extract it where your webserver can serve it
- Create a
config.jsonfile and replace the URL with your API root. (See the social-enterprise-directory repository if you want to deploy the backend as well):
{
"api_root": "https://example.org/api/"
}
See the README in the se-dir-ansible repository.
npm install -g yo generator-react-webpack# Install yeoman and the generatorgit clone https://github.com/cised-ca/se-dir-frontend-react.git# Clone this repocd se-dir-frontend-react && npm install# Install dependenciescp src/config.dist.json src/config.json# Copy the default configs- Edit
src/config.jsonto match your configuration. (Note: logger element is optional)
You can then generate react components as documented.
The documented commands are available.