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
|
## Initial build
|
||||||
|
|
||||||
Checkout the source, and switch to the development branch:
|
Checkout the source:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
git clone https://github.com/inbucket/inbucket.git
|
git clone https://github.com/inbucket/inbucket.git
|
||||||
cd inbucket
|
cd inbucket
|
||||||
git checkout develop
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Build the backend (will fetch Go dependencies):
|
Build the backend (will fetch Go dependencies):
|
||||||
@@ -24,8 +23,8 @@ Install JavaScript dependencies and build the web UI:
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
cd ui
|
cd ui
|
||||||
npm i
|
yarn install
|
||||||
npm run build
|
yarn build
|
||||||
```
|
```
|
||||||
|
|
||||||
Verify Inbucket starts and that the web UI loads:
|
Verify Inbucket starts and that the web UI loads:
|
||||||
@@ -80,10 +79,10 @@ Build & launch the frontend in development mode:
|
|||||||
|
|
||||||
```sh
|
```sh
|
||||||
cd ui
|
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.
|
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