-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
ajosh0504
committed
Oct 30, 2024
1 parent
5499863
commit 36a711d
Showing
1 changed file
with
12 additions
and
35 deletions.
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 |
---|---|---|
@@ -1,49 +1,26 @@ | ||
# Docusaurus Template Workshop | ||
# MongoDB AI Agents Lab @AWS re:Invent | ||
|
||
This is a template to __create new Lab documentation sites__. Contains info on how to use Docusaurus and is a good starting point. | ||
This is the AI Agents Lab presented by MongoDB at AWS re:Invent '24. It covers building AI Agents using MongoDB, AWS Bedrock and LangGraph. | ||
|
||
### Installation | ||
You can access the online version of the lab [here](https://mongodb-developer.github.io/ai-agents-lab-reinvent/). | ||
|
||
``` | ||
npx create-docusaurus@latest name-of-my-new-awesome-workshop https://github.com/mongodb-developer/docusaurus-workshop | ||
cd name-of-my-new-awesome-workshop | ||
npm start | ||
``` | ||
|
||
As you don't want to get the changes of these sample pages, just delete the `.git` folder and then `git init`. | ||
## Running the Lab Locally | ||
|
||
Open `docusaurus.config.js` and change at least the `workshopName` | ||
If you want to run the lab locally, you can start by cloning the repository or downloading the code. You will need to have [Node.js](https://nodejs.org/en/) installed. | ||
|
||
### Local Development | ||
Once you have the code, you can run the following commands to install the dependencies and start the server: | ||
|
||
``` | ||
$ npm start | ||
``` | ||
|
||
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. | ||
|
||
To test a translation use `npm run start -- --locale es` for Spanish | ||
|
||
### Build | ||
|
||
``` | ||
$ npm run build | ||
npm install | ||
npm start | ||
``` | ||
|
||
This command generates static content into the `build` directory and can be served using any static contents hosting service. | ||
|
||
### Deployment | ||
|
||
Use the provided Github Action, or deploy manually after building | ||
You can then access the lab at http://localhost:3000 | ||
|
||
## Contributing | ||
|
||
As `main` is protected, submit a pull request to be reviewed. | ||
|
||
## Docusaurus | ||
|
||
This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator. It's available on https://mongodb-developer.github.io/docusaurus-workshop/. | ||
If you find any issues with the lab, please open an issue or submit a pull request. | ||
|
||
### Disclaimer | ||
## License | ||
|
||
Use at your own risk; not a supported MongoDB product | ||
This project is licensed under the Apache 2.0 License - see the [LICENSE](LICENSE) file for details |