Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dhzdhd/obsidianlite
A discord bot made with poise.rs
https://github.com/dhzdhd/obsidianlite
discord-bot poise-rs rust serenity-rs
Last synced: about 6 hours ago
JSON representation
A discord bot made with poise.rs
- Host: GitHub
- URL: https://github.com/dhzdhd/obsidianlite
- Owner: dhzdhd
- License: mit
- Created: 2022-10-01T14:44:17.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-08-03T20:12:00.000Z (5 months ago)
- Last Synced: 2024-08-03T21:27:06.255Z (5 months ago)
- Topics: discord-bot, poise-rs, rust, serenity-rs
- Language: Rust
- Homepage:
- Size: 246 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ObsidianLite
## Setup
- Server
- AWS
- Create an AWS IAM user and configure permissions for the same
- Download AWS CLI and run `aws configure`
- Download and install pulumi
- Create a python virtual env in `iac/pulumi` as per `iac/pulumi/requirements.txt`
- Download and install ansible
- Create a `hosts.yml` in `iac/ansible` and fill it as per `hosts.yml.example`
- Docker
- Download and install Docker desktop/engine## Running the bot
- Server
- From the `ObsidianLite` directory, run the commands
- `pulumi up --cwd ./iac/vm/pulumi`
- `scp -i ~/.ssh/aws.pem .env ubuntu@:/home/ubuntu/.env`
- `ansible-playbook -i ./iac/vm/ansible/hosts.yml --private-key ~/.ssh/aws.pem iac/vm/ansible/playbook.yml`
- Docker
- Building image locally
- Run `docker compose up -d`
- Use docker registry
- Run `docker compose -f docker-compose-prod.yaml up -d`