-
Notifications
You must be signed in to change notification settings - Fork 115
feat: update cli docs #119
Conversation
@wess how much do you like this feature? 😅 |
@christyjacob4 please attach an up-to-date screenshot of the docs. |
app/views/docs/command-line.phtml
Outdated
</div> | ||
|
||
|
||
<h3><a href="/docs/command-line#installWithScript" id="installWithScript">Install with script</a></h3> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why have two options? Are developers going to choose to not use npm?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So here was the thought process when we decided giving multiple installation options
- The previous version of the CLI was only distributed as a binary. So our install script was the only way for developers to install it. We didn't want to take away that option with the new release.
- While it might be safe to assume most developers have npm and node installed, we wanted to ensure our CLI can run without any dependencies.
Co-authored-by: Brandon <robertsbt@gmail.com>
Co-authored-by: Brandon <robertsbt@gmail.com>
Co-authored-by: Brandon <robertsbt@gmail.com>
Co-authored-by: Brandon <robertsbt@gmail.com>
Co-authored-by: Brandon <robertsbt@gmail.com>
Co-authored-by: Brandon <robertsbt@gmail.com>
Co-authored-by: Brandon <robertsbt@gmail.com>
Co-authored-by: Brandon <robertsbt@gmail.com>
Co-authored-by: Brandon <robertsbt@gmail.com>
Co-authored-by: Brandon <robertsbt@gmail.com>
Co-authored-by: Brandon <robertsbt@gmail.com>
Co-authored-by: Brandon <robertsbt@gmail.com>
@eldadfux here's the updated screenshot |
Looks good, a few comments:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Agree with @eldadfux regarding
appwrite.json
, may be we can provide a schema definition viaappwrite.id/appwrite_config_schema
or a better url ? - Why don't we have a install command to install Appwrite server? something like
- appwrite install (installs the latest version)
- appwrite install --version=0.10.1 (installs 0.10.1 version)
?
We could have the install command in the future, we wanted to keep it simpler for the 1st release. |
No description provided.