The below instructions run EUI's documentation site locally, with any changes made in src/
reflected. On local, EUI's favicon will be gray instead of colored.
We depend upon the version of node defined in .nvmrc.
You will probably want to install a node version manager. nvm is recommended.
To install and use the correct node version with nvm
:
nvm install
To install all dependencies:
yarn
EUI currently uses only yarn
for dependency management. We use npm
for release purposes only.
You can run the documentation locally at http://localhost:8030/ with the following command:
yarn start
If another process is already listening on port 8030, the next free port will be used. Alternatively, you can specify a port:
yarn start --port 9000