This bot will let you play Nomic via Discord, while being hosted on AWS. For now it's functionality is limited though.
- Bot source code is in
./bot
directory. - CDK stacks are in
./nomic_bot
directory.
- AWS account,
- Registered Discord Bot,
.env
file in./bot
folder withDISCORD_TOKEN
variable.
python3 -m venv .venv
source .venv/bin/activate
(.venv\Scripts\activate.bat
on Windows)pip install -r requirements.txt
- Install aws-cli.
- Configure access keys to your AWS account.
cdk bootstrap
— create once supporting constructs in your account.cdk synth
— create your cloudformation files.cdk deploy
— deploy your stacks to AWS.
After changes, you can repeat points 4
and 5
to update your services.
cdk ls
list all stacks in the appcdk synth
emits the synthesized CloudFormation templatecdk deploy
deploy this stack to your default AWS account/regioncdk diff
compare deployed stack with current statecdk docs
open CDK documentation