Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create an application #13

Open
Sveinki10 opened this issue Jul 17, 2022 · 6 comments
Open

Create an application #13

Sveinki10 opened this issue Jul 17, 2022 · 6 comments

Comments

@Sveinki10
Copy link

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

@khalidelassaad
Copy link

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! 😄

@keybits
Copy link

keybits commented Sep 22, 2022

Creating indices would also be helpful 😄

@kai687
Copy link
Contributor

kai687 commented Sep 22, 2022

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

@keybits
Copy link

keybits commented Sep 22, 2022

Aha - perfect, thanks!

@gregfenton
Copy link

gregfenton commented Feb 21, 2024

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.

@gregfenton
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants