Prerequirements
With your Docs account, configure Litium NuGet with following command:
dotnet nuget add source https://nuget.litium.com/nuget/ -n Litium -u docsusername -p docspassword
Install/update Cloud CLI
Cloud CLI tool is named litium-cloud, run following command to install / update the tool:
dotnet tool update -g litium.cloud.cli --no-cache
Log into Litium cloud CLI
Run following command:
litium-cloud auth login
A browser will open with a login prompt, login with your Litium Account (serverless) login or choose 'Sign up now' to create a new account.
Note. The Litium Account login is NOT the same as your docs-login. If this is your first time working with Litium Cloud CLI you most probably don't have an account and should select 'Sign up now'.
Note. if you get errors like "Your connection is not private” when trying to log in it may be because you have a local hsts setup for localhost - this could for instance be caused by running a local aspnet core website with incorrect settings. See our FAQ page for how to fix this.
Subscriptions are created by Litium. To gain access to a subscription, contact Litium support.
To see which subscriptions you have access to, run following command:
litium-cloud subscription list
Prerequirements
Setup and install Litium platform
- Create environment
- Install Litium CDN
- Install Litium Platform
- Install Litium Insights
Install Next.js storefront app, and deploy your code (Headless React Accelerator)
Prerequirements
Install Next.js storefront app, and deploy your headless react accelerator
- Install a Next.js storefront app to the environment
Install payment and delivery apps
With Litium Serverless Cloud you are in charge of installing, deleting and updating the payment and delivery apps you need.
Install private app(s)
Except deploying and running the Litium Platform, Next.Js storefront and other public apps in Litium Serverless Cloud it is also possible to deploy and run private apps. For instance if you have the need of extra storage with an additional Sftp. See availalable private apps.
Automate deployments
To use the CLI in a deployment pipeline you should use a service principal to login and authenticate.
Access control and user management
You should configure Access control to manage who should have which access to different resources. Groups is a convenient way to handle access for multiple users.
Logs and metrics
To view logs and other metrics for your apps, use Litium Logs & Insights.