mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-18 18:17:03 +00:00
yarn update
@@ -6,12 +6,11 @@ _Note:_ While it is possible to develop on Windows, Linux or Mac OS is required
|
||||
|
||||
## Initial build
|
||||
|
||||
Checkout the source, and switch to the development branch:
|
||||
Checkout the source:
|
||||
|
||||
```sh
|
||||
git clone https://github.com/inbucket/inbucket.git
|
||||
cd inbucket
|
||||
git checkout develop
|
||||
```
|
||||
|
||||
Build the backend (will fetch Go dependencies):
|
||||
@@ -24,8 +23,8 @@ Install JavaScript dependencies and build the web UI:
|
||||
|
||||
```sh
|
||||
cd ui
|
||||
npm i
|
||||
npm run build
|
||||
yarn install
|
||||
yarn build
|
||||
```
|
||||
|
||||
Verify Inbucket starts and that the web UI loads:
|
||||
@@ -80,10 +79,10 @@ Build & launch the frontend in development mode:
|
||||
|
||||
```sh
|
||||
cd ui
|
||||
npm run dev
|
||||
yarn start
|
||||
```
|
||||
|
||||
If your browser does not open automatically, visit http://0.0.0.0:3000/ and select the Monitor tab. Follow the steps for _Terminal 2_ in the backend section to send some messages into Inbucket and confirm they appear in your browser.
|
||||
If your browser does not open automatically, visit http://0.0.0.0:1234/ and select the Monitor tab. Follow the steps for _Terminal 2_ in the backend section to send some messages into Inbucket and confirm they appear in your browser.
|
||||
|
||||
The development server features hot code loading, so most changes you make to the Elm code will not require a browser refresh to be visible.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user