Design and Deploy Large Language Model Apps
Join our Discord.
- Install Rust
- Clone this repository (
$DUST_PATH
represents the path to thedust
repository). cd $DUST_PATH/core
cargo build --release --bin dust
alias dust="$DUST_PATH/core/target/release/dust"
dust init new_test_project
cd new_test_project
dust help
See the video demo for an explanation of the commands.
- Install Rust
- Install Node
- Clone this repository (
$DUST_PATH
represents the path to thedust
repository).
cd $DUST_PATH/core
cargo run --bin dust-api
cd $DUST_PATH/front
- Create
.env.local
by running the command below:
cat <<EOF >> .env.local
URL=http://localhost:3000
NEXTAUTH_URL=$URL
NEXTAUTH_SECRET=25da29db5485fcd27d2f671c5e28d5df8f325e9470c36cb6bf0a9d19c662255a
FRONT_DATABASE_URI=sqlite:front_store.sqlite
GITHUB_ID=47ec837fcbac1c6f1690
GITHUB_SECRET=d59af0da231fc697d7dd8d3002ed1d9765e11c7f
DUST_API=http://localhost:3001
THUM_IO_KEY=0-Foo
GA_TRACKING_ID=Foo
EOF
- Run
npm install
- Run
FRONT_DATABASE_URI=sqlite:front_store.sqlite ./init/init.sh
- Start server with
npm run dev