|
|
# Building and viewing changes
|
|
|
|
|
|
For front-end development we have webpack live-reload server support:
|
|
|
|
|
|
```bash
|
|
|
npm run dev
|
|
|
```
|
|
|
|
|
|
> **Note:** Websocket features can't be used with the webpack server.
|
|
|
|
|
|
You can also build assets for the elixir server to use (prod mode)
|
|
|
|
|
|
```bash
|
|
|
npm run build
|
|
|
```
|
|
|
|
|
|
> **Tip:** Don't run the elixir server at the same time (the Phoenix server has live reload support [that needs to be disabled](https://framagit.org/tcit/storia/issues/17))
|
|
|
|
|
|
# Resources
|
|
|
|
|
|
We have a Swagger UI docs endpoint at <http://0.0.0.0:4000/api/doc/index.html> |