-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #447 from l3vels/feat/datura-domain
feat: datura domain
- Loading branch information
Showing
5 changed files
with
865 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,151 @@ | ||
name: Azure Domain build | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- "apps/ui/**" | ||
# pull_request: | ||
# types: [opened, synchronize, reopened, closed] | ||
# branches: | ||
# - main | ||
|
||
jobs: | ||
buid_deploy_job_dev: | ||
runs-on: ubuntu-latest | ||
name: Build and Deploy Job | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
lfs: false | ||
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 18 | ||
|
||
- name: Setup yarn | ||
run: npm install -g yarn | ||
|
||
# Get yarn cache directory path | ||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
working-directory: apps/ui | ||
|
||
# Cache yarn dependencies using the determined directory path | ||
- uses: actions/cache@v2 | ||
with: | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('apps/ui/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- name: Install dependencies | ||
run: yarn install | ||
working-directory: apps/ui | ||
|
||
- name: Build | ||
env: | ||
NODE_OPTIONS: "--max_old_space_size=4096" | ||
run: yarn run build:datura | ||
working-directory: apps/ui | ||
|
||
- name: Postbuild | ||
run: yarn run postbuild | ||
working-directory: apps/ui | ||
|
||
# - name: List dist contents | ||
# run: ls -l apps/ui/dist | ||
|
||
- name: Build And Deploy | ||
id: builddeploy | ||
uses: Azure/static-web-apps-deploy@v1 | ||
with: | ||
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_BRAVE_POND_088116410 }} | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) | ||
action: "upload" | ||
###### Repository/Build Configurawtions - These values can be configured to match your app requirements. ###### | ||
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig | ||
app_location: "/apps/ui/dist" # App source code path | ||
# api_location: "" # Api source code path - optional | ||
# output_location: "dist" # Built app content directory - optional | ||
skip_app_build: true | ||
###### End of Repository/Build Configurations ###### | ||
|
||
# buid_deploy_job_prod: | ||
# needs: buid_deploy_job_dev | ||
# environment: prod | ||
# runs-on: ubuntu-latest | ||
# name: Build and Deploy Job Prod | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
# with: | ||
# submodules: true | ||
# lfs: false | ||
|
||
# - uses: actions/setup-node@v2 | ||
# with: | ||
# node-version: 18 | ||
|
||
# - name: Setup yarn | ||
# run: npm install -g yarn | ||
|
||
# # Get yarn cache directory path | ||
# - name: Get yarn cache directory path | ||
# id: yarn-cache-dir-path | ||
# run: echo "::set-output name=dir::$(yarn cache dir)" | ||
# working-directory: apps/ui | ||
|
||
# # Cache yarn dependencies using the determined directory path | ||
# - uses: actions/cache@v2 | ||
# with: | ||
# path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
# key: ${{ runner.os }}-yarn-${{ hashFiles('apps/ui/yarn.lock') }} | ||
# restore-keys: | | ||
# ${{ runner.os }}-yarn- | ||
|
||
# - name: Install dependencies | ||
# run: yarn install | ||
# working-directory: apps/ui | ||
|
||
# - name: Build | ||
# env: | ||
# NODE_OPTIONS: '--max_old_space_size=4096' | ||
# run: yarn run build:prod | ||
# working-directory: apps/ui | ||
|
||
# - name: Postbuild | ||
# run: yarn run postbuild | ||
# working-directory: apps/ui | ||
|
||
# # - name: List dist contents | ||
# # run: ls -l apps/ui/dist | ||
|
||
# - name: Build And Deploy | ||
# id: builddeploy | ||
# uses: Azure/static-web-apps-deploy@v1 | ||
# with: | ||
# azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_THANKFUL_ISLAND_005734510 }} | ||
# repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) | ||
# action: "upload" | ||
# ###### Repository/Build Configurawtions - These values can be configured to match your app requirements. ###### | ||
# # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig | ||
# app_location: "/apps/ui/dist" # App source code path | ||
# # api_location: "" # Api source code path - optional | ||
# # output_location: "dist" # Built app content directory - optional | ||
# skip_app_build: true | ||
# ###### End of Repository/Build Configurations ###### | ||
|
||
# # close_pull_request_job: | ||
# # if: github.event_name == 'pull_request' && github.event.action == 'closed' | ||
# # runs-on: ubuntu-latest | ||
# # name: Close Pull Request Job | ||
# # steps: | ||
# # - name: Close Pull Request | ||
# # id: closepullrequest | ||
# # uses: Azure/static-web-apps-deploy@v1 | ||
# # with: | ||
# # azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_WHITE_GROUND_069DB8E10 }} | ||
# # action: "close" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
REACT_APP_ENV=datura | ||
REACT_APP_SERVICES_URL=https://api-dev.l3vels.xyz | ||
REACT_APP_ACCOUNT_SERVICES_URL=https://api-dev.l3vels.xyz | ||
REACT_APP_PR_SERVICES_URL=https://api-pr-dev.l3agi.com | ||
REACT_APP_PR_SERVICES_WS_URL=wss://api-pr-dev.l3agi.com | ||
|
||
REACT_APP_MAIN_API_DOCS=https://api-dev.l3vels.xyz/docs | ||
REACT_APP_PR_API_DOCS=https://api-pr-dev.l3agi.com/docs | ||
|
||
REACT_APP_DOMAIN_NAME=https://dev.l3agi.com | ||
|
||
REACT_APP_SENTRY_DNS= | ||
REACT_APP_SENTRY_WEBPACK_AUTH_TOKEN= | ||
|
||
REACT_APP_DISCORD_LINK=https://discord.gg/FcVZKcaRCV | ||
REACT_APP_GITHUB_LINK=https://github.com/l3vels/L3AGI | ||
REACT_APP_TWITTER_LINK=https://twitter.com/l3velshq | ||
REACT_APP_YOUTUBE_LINK=https://www.youtube.com/@L3AGI | ||
|
||
REACT_APP_YOUTUBE_VIDEO_ID=R2hYNONKwKI | ||
REACT_APP_YOUTUBE_VIDEO_DATA_SOURCE_ID=Fza4gHP_M3o | ||
|
||
REACT_APP_TERMS_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/terms.md | ||
REACT_APP_PRIVACY=https://github.com/l3vels/L3AGI/blob/main/docs/privacy.md | ||
REACT_APP_BASICS_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/basic.md | ||
REACT_APP_AGENTS_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/agent.md | ||
REACT_APP_API_KEYS_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/apiKeys.md | ||
REACT_APP_DATASOURCES_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/datasource.md | ||
REACT_APP_TOOLS_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/toolkit.md | ||
|
||
REACT_APP_PLAN_AND_EXECUTE_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/team.md#types-of-teams | ||
REACT_APP_AUTHORITARIAN_SPEAKER_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/team.md#types-of-teams | ||
REACT_APP_DEBATES_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/team.md#types-of-teams | ||
REACT_APP_DECENTRALIZED_SPEAKER_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/team.md#types-of-teams | ||
|
||
REACT_APP_TEAM_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/team.md | ||
|
||
REACT_APP_INDEX_TYPES_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/index-types.md | ||
REACT_APP_RESPONSE_MODES_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/response-modes.md | ||
REACT_APP_VECTOR_STORES_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/vector-stores.md | ||
|
||
REACT_APP_TWILIO_PHONE_NUMBER_SID_LINK=https://github.com/l3vels/L3AGI/blob/main/docs/twilio-phone-number-sid.md | ||
|
||
REACT_APP_STATIC_URL=https://static.l3vels.xyz | ||
REACT_APP_DATA_TEST_MODE=true | ||
PORT=3000 | ||
|
||
|
||
# General Configurations | ||
REACT_APP_TITLE=Datura | ||
REACT_APP_FAVICON="/DaturaLogo.svg" | ||
REACT_APP_CONTENT="Revolutionize your team's collaboration with our open-source framework, crafted to make AI agents work together as seamlessly as human collaboration. Empower your projects with unparalleled efficiency and coordination. Experience the future of teamwork, where artificial intelligence meets human ingenuity. Elevate your collaborative efforts with Datura – because when AI agents unite, extraordinary outcomes become the new norm." | ||
REACT_APP_LOGO="/DaturaLogo.svg" | ||
REACT_APP_WELCOME_MESSAGE="Welcome to Datura" | ||
|
||
# Login Page Configurations | ||
# REACT_APP_LOGIN_EMAIL_PASSWORD=true | ||
# REACT_APP_LOGIN_GITHUB=false | ||
# REACT_APP_LOGIN_POPUP=false | ||
# REACT_APP_LOGIN_DISCOVERY=false | ||
REACT_APP_LOGIN_PAGE={"email_password":true,"github":false,"popup":false,"discovery":false} | ||
|
||
# Naming Configurations | ||
REACT_APP_HOME_NAMING="Home" | ||
REACT_APP_AGENT_NAMING="Assistant" | ||
REACT_APP_TEAM_NAMING="Team" | ||
REACT_APP_DATASOURCE_NAMING="Knowledge" | ||
REACT_APP_MODEL_NAMING="Model" | ||
REACT_APP_DISCOVERY_NAMING="Discovery" | ||
REACT_APP_CHAT_NAMING="Assistants" | ||
REACT_APP_TOOLKIT_NAMING="Toolkit" | ||
REACT_APP_SCHEDULES_NAMING="Schedules" | ||
REACT_APP_INTEGRATION_NAMING="Integration" | ||
|
||
# CHAT MODULE OPERATIONS | ||
# TEAM | ||
REACT_APP_CHAT_TEAM_CREATE=true | ||
REACT_APP_CHAT_TEAM_LIST=true | ||
REACT_APP_CHAT_TEAM_EDIT=true | ||
REACT_APP_CHAT_TEAM_DELETE=true | ||
# AGENT | ||
REACT_APP_CHAT_TEAM_CREATE=true | ||
REACT_APP_CHAT_TEAM_LIST=true | ||
REACT_APP_CHAT_TEAM_EDIT=true | ||
REACT_APP_CHAT_TEAM_DELETE=true | ||
|
||
# MODEL MODULE OPERATIONS | ||
# MODELS | ||
REACT_APP_MODELS_CREATE=true | ||
REACT_APP_MODELS_LIST=true | ||
REACT_APP_MODELS_EDIT=true | ||
REACT_APP_MODELS_DELETE=true | ||
# FINE-TUNING | ||
REACT_APP_FINE_TUNINGS_CREATE=true | ||
REACT_APP_FINE_TUNINGS_LIST=true | ||
REACT_APP_FINE_TUNINGS_EDIT=true | ||
REACT_APP_FINE_TUNINGS_DELETE=true | ||
|
||
# REST MODELS | ||
REACT_APP_TOOLKIT=true | ||
REACT_APP_DATASOURCE=true | ||
REACT_APP_DISCOVERY=false | ||
REACT_APP_SESSION=true | ||
REACT_APP_SCHEDULE=true | ||
REACT_APP_INTEGRATION=true | ||
REACT_APP_CONTACT=true | ||
REACT_APP_GROUP=true | ||
REACT_APP_EXTERNAL_LINKS=false | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.