Busabase
Busabase 是一个开源(MIT)数据库与 AI 智能体工作空间——将数据、文档、技能和应用集成于一体。您可以本地运行、在网络内自托管或使用 Busabase Cloud,从而开启新时代。
AI 翻译
尚未检测到更新。GitHub 发布版本后会显示在这里。
Le site public du Référentiel National des Bâtiments
翻译准备中
正在加载完整 README。
查看完整 README ↗Bienvenue sur le répertoire de code du site du Référentiel National des Bâtiments (RNB)
Si vous souhaitez accéder au répertoire contenant les ressources concernant la construction du standard du référentiel dans le cadre du groupe de travail CNIG sur le thème du bâiment, c'est par ici
Si vous souhaitez accéder au répertoire de code contenant le coeur technique du projet (imports, API, logique métier), rdv ici.
This is a Next.js project bootstrapped with create-next-app.
First, install the dependencies:
pnpm i
Ask a colleague to send you his .env.local file.
Then run the development server:
pnpm dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.
API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.ts.
The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.
This project uses next/font to automatically optimize and load Inter, a custom Google Font.
In order to run the project, you will need to specifiy some information, which can be done using a .env file.
This file will have to hold the following information:
NEXT_PUBLIC_API_BASE: the url of the bat-id apiSo your .env file should look like something similar to:
NEXT_PUBLIC_API_BASE=my-url
The file should be placed at the root folder of your local copy of the project.
This Next.js app is deployed using the Vercel Platform from the creators of Next.js.
Check out our Next.js deployment documentation for more details.
| Command | Description |
|---|---|
pnpm e2e | Run all tests |
pnpm e2e-ui | Run tests in interactive mode |
Note: Tests currently run against the staging database. Any change in staging can cause test failures. If CI tests suddenly break without any code change, this is worth investigating. This setup is not optimal but acceptable for now. Future improvements may include a dedicated test database or running the RNB-coeur project within the RNB-site CI for a fully controlled environment.
Distributed under the Apache 2 License. See LICENSE for more information.