1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 09:37:02 +00:00
Files
go-inbucket/ui
dependabot[bot] 2c0d942c76 build(deps): bump follow-redirects from 1.14.0 to 1.14.7 in /ui (#247)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.0 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.0...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-17 12:24:06 -08:00
..
2020-08-29 19:06:21 -07:00
2021-07-20 08:07:06 -07:00
2018-11-13 22:06:19 -08:00
2018-11-12 20:38:00 -08:00
2021-07-31 16:09:30 -07:00
2018-11-17 19:18:39 -08:00
2020-09-21 16:16:00 -07:00

Inbucket User Interface

This directory contains the source code for the Inbucket web user interface. It is written in Elm 0.19, a delightful language for reliable webapps.

Development

With $INBUCKET as the root of the git repository.

One time setup (assuming Node.js is already installed):

cd $INBUCKET/ui
npm i elm -g
npm i
npm run build

This will the create node_modules, elm-stuff, and dist directories.

Terminal 1: inbucket daemon

cd $INBUCKET
make
etc/dev-start.sh

Inbucket will start, with HTTP listening on port 9000. You may verify the web UI is functional if this is your first time building Inbucket, but your dev/test cycle should favor the development server below.

Terminal 2: webpack development server

cd $INBUCKET/ui
npm run dev

npm will start a development HTTP server listening on port 3000. You should use this server for UI development, as it features hot reload and the Elm debugger.