Skip to content

Create an application #13

Description

@Sveinki10

Is it on the roadmap for this project to make a command to create an Algolia application from the CLI?

Activity

  1. khalidelassaad commented on Jul 28, 2022

    @khalidelassaad

    Yes @Sveinki10 ! We'd like to support instantiating a front-end app from the command line for easy quickstart!

    This is not planned for our GA release, but for a follow-up release

    Great question! 😄

  2. keybits commented on Sep 22, 2022

    @keybits

    Creating indices would also be helpful 😄

  3. kai687 commented on Sep 22, 2022

    @kai687
    Contributor

    Creating indices would also be helpful 😄

    @keybits If you add objects to a non-existing index, it'll be created, just like when using the API or API clients. For example:

    algolia objects import <new_index> --file records.ndjson
    
  4. keybits commented on Sep 22, 2022

    @keybits

    Aha - perfect, thanks!

  5. gregfenton commented on Feb 21, 2024

    @gregfenton

    If you add objects to a non-existing index, it'll be created, just like when using the API or API clients. For example:

    algolia objects import <new_index> --file records.ndjson
    

    This would be useful to have stated in the documentation. If it is there...it isn't obvious.

    To me, creating indexes would be a primary use case so it would be great to have that "pop out" in the documentation. Heck, even having an alias for algolia indices create ... to actually run algolia objects import ... would be huge in terms of discoverability.

    In fact, doing:

    algolia -P my-project indices config import new-index-name -F config.json --scope settings -y
    

    will also create the index new-index-name.

  6. gregfenton commented on Feb 21, 2024

    @gregfenton

    Oh, and +1 for the ability to create applications.

    I'm sure this will involve a decent amount of development in order to authenticate to the Algolia account which is a lot more than simply having some API keys for an existing application, but it would be a fantastic utility to streamline/automate the creation of new instances of applications. Having to do manual steps dramatically slows things down and increases risk of human error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions