Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Init front blog app #54

Merged
merged 7 commits into from
Oct 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,16 @@ jobs:
restore-keys: |
buildx-${{ github.job }}-${{ github.ref_name }}-

- name: Push frontend
uses: docker/build-push-action@v6
with:
context: apps/frontend
push: true
tags: staging.dashhub.ai/dashhub-frontend:latest
platforms: ${{ env.TARGET_PLATFORMS }}
cache-from: type=local,src=/tmp/.buildx-staging-cache
cache-to: type=local,dest=/tmp/.buildx-staging-cache-new

- name: Push backend
uses: docker/build-push-action@v6
with:
Expand Down
50 changes: 23 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,28 @@ At DashHub, we believe tools should adapt to **your needs and use cases**, offer

## 📋 Table of Contents

- [Introduction](#introduction)
- [Why Choose DashHub](#why-choose-dashhub)
- [Setup](#️-setup)
- [Deployment](#-deployment)
- [System Overview](#-system-overview)
- [User Roles and Permissions](#user-roles-and-permissions)
- [Key Features](#key-features)
- [Projects 📂](#projects-)
- [Experts 🧠](#experts-)
- [Applications 📱](#applications-)
- [Knowledge Management 📚](#knowledge-management-)
- [MVP Phase](#-mvp-phase)
- [Future Plans](#-future-plans)
- [Integration Process](#integration-process)
- [Technical Architecture](#️-technical-architecture)
- [Security and Compliance](#-security-and-compliance)
- [Limitations and Considerations](#️-limitations-and-considerations)
- [License](#-license)
- [Contributing](#-contributing)
- [Community and Support](#-community-and-support)

- [🚀 DashHub: The Unified Open-Source AI Platform for Enterprises](#-dashhub-the-unified-open-source-ai-platform-for-enterprises)
- [📋 Table of Contents](#-table-of-contents)
- [🌟 Introduction](#-introduction)
- [🌟 Why Choose DashHub](#-why-choose-dashhub)
- [Setup ⚙️](#setup-️)
- [Migrations ⚙️](#migrations-️)
- [Elasticsearch](#elasticsearch)
- [Deployment 🚀](#deployment-)
- [👥 User Roles and Permissions](#-user-roles-and-permissions)
- [🔑 Key Features](#-key-features)
- [Projects 📂](#projects-)
- [Experts 🧠](#experts-)
- [Applications 📱](#applications-)
- [Knowledge Management 📚](#knowledge-management-)
- [🚀 MVP Phase](#-mvp-phase)
- [📈 Future Plans](#-future-plans)
- [🔄 Integration Process](#-integration-process)
- [🏗️ Technical Architecture](#️-technical-architecture)
- [🔒 Security and Compliance](#-security-and-compliance)
- [⚠️ Limitations and Considerations](#️-limitations-and-considerations)
- [📄 License](#-license)
- [🤝 Contributing](#-contributing)

## 🌟 Introduction

Expand All @@ -53,7 +54,6 @@ Welcome to **DashHub**, your ultimate solution for seamless AI integration. Our
- **Flexible Deployment**
- Deploy DashHub locally or in the cloud to suit your infrastructure.


## Setup ⚙️

To run the project, follow these steps:
Expand Down Expand Up @@ -129,7 +129,6 @@ The platform supports three types of users:
- Utilize Experts within projects
- Use Applications for specific tasks


## 🔑 Key Features

### Projects 📂
Expand All @@ -154,7 +153,6 @@ The platform supports three types of users:
- **Knowledge Bases**: Users can add outputs to project knowledge bases.
- **Export Options**: Download and export information as needed.


## 🚀 MVP Phase

The Minimum Viable Product (MVP) includes the following features:
Expand All @@ -174,7 +172,6 @@ The Minimum Viable Product (MVP) includes the following features:
- Limited number of pre-configured Experts.
- Single storage provider (AWS).


## 📈 Future Plans

Planned enhancements for future versions include:
Expand All @@ -188,7 +185,6 @@ Planned enhancements for future versions include:
- **Cross-AI Analytics and Reporting**
- **Enterprise Tool Integrations**: Slack, Microsoft 365, Salesforce, Google Workspace, Box, Zoho Docs, etc.


## 🔄 Integration Process

Getting started with DashHub is simple:
Expand All @@ -200,7 +196,7 @@ Getting started with DashHub is simple:
5. **Customize**: Upload your company logo and settings.
6. **Start Creating**: Start using and enjoy the newest AI developments in a save enviroment.

## 🏗️ Technical Architecture
## 🏗️ Technical Architecture

The platform is designed as a web application with the following key components:

Expand Down
1 change: 1 addition & 0 deletions apps/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"postcss-combine-duplicated-selectors": "^10.0.3",
"postcss-sort-media-queries": "^5.2.0",
"react-helmet-async": "^2.0.5",
"tailwindcss": "^3.4.14",
"uikit": "^3.21.13",
"wouter": "^3.3.5"
}
Expand Down
24 changes: 24 additions & 0 deletions apps/frontend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# build output
dist/
# generated types
.astro/

# dependencies
node_modules/

# logs
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*


# environment variables
.env
.env.production

# macOS-specific files
.DS_Store

# jetbrains setting folder
.idea/
23 changes: 7 additions & 16 deletions apps/frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,25 +1,16 @@
FROM node:22-alpine3.20
FROM node:23-alpine3.19

ENV TZ=Europe/Berlin
ENV NODE_ENV=production
ENV SERVER_HOST=0.0.0.0
ENV SERVER_PORT=80
ENV TZ=Europe/Berlin
ENV HOST=0.0.0.0
ENV PORT=3002

RUN apk --no-cache add jq && \
mkdir /app && \
RUN mkdir /app && \
chown -R node:node /app

WORKDIR /app
USER node

# Install dependenceis
COPY --chown=node:node package.json .

RUN jq 'del(.devDependencies)' package.json > temp.json && mv temp.json package.json && \
npm install --omit=dev --omit=optional

# Copy the build folder from the previous stage
COPY dist/ .
COPY dist/ dist/

# Copy the server folder
CMD ["npx", "remix-serve", "server/index.js"]
CMD [ "node", "--enable-source-maps", "--stack-trace-limit=1000", "dist/server/entry.mjs" ]
18 changes: 0 additions & 18 deletions apps/frontend/app/entry.client.tsx

This file was deleted.

139 changes: 0 additions & 139 deletions apps/frontend/app/entry.server.tsx

This file was deleted.

31 changes: 0 additions & 31 deletions apps/frontend/app/root.tsx

This file was deleted.

Loading
Loading