Skip to content

Commit

Permalink
Merge branch 'master' into 4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-fleming authored Jun 18, 2024
2 parents a5d1f21 + 8daddef commit 7acfbe8
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN NODE_OPTIONS="--max-old-space-size=4096" npm install

RUN NODE_OPTIONS="--max-old-space-size=4096" npx lerna run build

FROM nginx:1.25.2-alpine3.18-slim
FROM nginx:1.25.2-alpine3.18-slim AS fnl_base_image

COPY --from=build /usr/src/app/packages/bento-frontend/dist /usr/share/nginx/html
COPY --from=build /usr/src/app/conf/inject.template.js /usr/share/nginx/html/inject.template.js
Expand Down
61 changes: 61 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Bento Frontend Installation Guide

> ℹ️ **NOTE:** This guide is only for Bento Framework development. If you would like to consume Bento Framework for your project, please refer to the [How get my copy of Bento Frontend?](https://github.com/CBIIT/bento-frontend?tab=readme-ov-file#creating-custom-applications-how-get-my-copy-of-bento-frontend).
🍱 Welcome to the Bento Frontend Installation Guide! 🍱
---
### Prerequisites:
- Node 16.17.1
- NPM 8.15.0
- Lerna 6.6.7

### Lerna Installation Steps:

1. **Install Lerna globally:**
```bash
npm install -g [email protected]

### Bento Frontend Installation Steps:

1. **Clone Bento Frontend Repository:**
```bash
git clone https://github.com/CBIIT/bento-frontend.git
cd bento-frontend
```

2. **Install Node Modules:**
```bash
npm install
```

3. **Navigate to Nginx Configuration Directory:**
```bash
cd packages/bento-frontend/nginx/
```

4. **Install Nginx:**
- Use the provided guide "local-nginx-setup-for-frontend.txt" to install Nginx on your Linux-based system.

5. **Return to the Root Folder:**
```bash
cd ../../../
```

6. **Run Lerna to Start Bento Frontend:**
```bash
lerna run start
```

---

### Creating Custom Applications (How get my copy of Bento Frontend?):

🛠️ If you want to create a custom application using Bento, you can use the following command:

```bash
npx @bento-core/create-bento-app <My Application Name>
```

ℹ️ This command will scaffold a new Bento application for you to customize according to your needs.

🚀 Following these steps should have Bento Frontend up and running on your system. Enjoy exploring Bento! 🚀

0 comments on commit 7acfbe8

Please sign in to comment.