Cog-Creators / Cog-Creators/Red-DiscordBot

Automate deployment

Open
#5,112 2 comments 0 reactions 0 assignees View on GitHub
Status: Needs Triage Type: Feature
Dominant language
Python
Stars
5.7k
Forks
2.5k
Avg merge
6d 16h
Merged PRs (30d)
1

Description

### Type of feature request

Other

### Description of the feature you're suggesting

As Red instance maintainer, I'd like to deploy a fully operational instance from scratch on a new node, including but not limited to:
- [x] Red core
- [ ] Cogs
- [ ] Custom cogs
- [ ] Configuration data

1 - Core
Red core can be easily installed automated using pip

2 - Cogs
Cogs can only be installed using `[p]cog install `
Suggestion: Something similar to pip's requirement with the list of cogs to install on startup given a --cogs-requirements flag is specified

```
repo/cog
```

3 - Community cogs
Community cogs can only be install with both `[p]repo add

    ` + `[p]cog install `
    Suggestion: Same as 2/ but it would be smarter to split with a --repositories-list flag to a file with a list of repos

    ```
    repo https://...
    ```

    4 - Config data
    If I want my new instance to be setup with some permissions, I need to start the instance with installed permission cog and then send a bunch of `[p]permissions addglobalrule allow `. Overwriting the settings.json file is not an options since data can be stored on a DB server.
    Suggestion: not much, maybe being able to specify a file with some startup commands

    ```
    [p]permissions addglobalrule allow ...
    ```

    ### Anything else?

    _No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.