-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Adapt the document to the release and add JSON views doc (#127)
- Loading branch information
1 parent
4de115a
commit 81be5f6
Showing
27 changed files
with
1,269 additions
and
378 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
components: | ||
- name: components-api | ||
url: https://github.com/lenra-io/components-api | ||
version: v1.0.0-beta.85 | ||
version: v1.0.0-beta.88 | ||
filePrefix: lenra-api-docs | ||
containsVersion: true | ||
- name: cli | ||
url: https://github.com/lenra-io/lenra_cli | ||
version: v1.0.0-beta.31 | ||
version: v1.1.0 | ||
filePrefix: lenra-cli-docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,40 @@ | ||
--- | ||
name: Deploy your app | ||
--- | ||
|
||
When your application is ready to be shared with others you might find interest into deploying it to the online platform. | ||
|
||
## Prerequisites | ||
|
||
If you don't have a Lenra app yet, you can [create one](./create-project.html). | ||
|
||
Before deploying your app, you need to create a git repository for it. | ||
This repo will have to be accessible from the internet, you can use GitHub, GitLab, BitBucket or any other git hosting service. | ||
You can use a private repository, but you will need to follow [our dedicated guide](../guides/use-private-repository.html). | ||
|
||
Make sure your app is working in production mode locally (using [the Lenra CLI](./install.html)) before deploying it by running the following command in your app directory: | ||
|
||
```bash | ||
# Build the app for production | ||
lenra build --production | ||
# Start the app previously built | ||
lenra start | ||
``` | ||
|
||
You can then test your app by opening [http://localhost:4000](http://localhost:4000) in your browser or starting your custom client. | ||
|
||
## Deploy your app | ||
|
||
Create an account on [{:rel="noopener" target="_blank"}dev.lenra.io](https://dev.lenra.io). | ||
You will be asked for a token to join our developer platform as our platform is in private beta phase. | ||
We will be sending you one as soon as possible. | ||
|
||
After successfully completing this step you will be redirected to the creation of your first project, just enter a name and the URL of the app git repository. | ||
For private repositories, follow [our dedicated guide](../guides/use-private-repository.html). | ||
|
||
Then you simply click `Publish my application` at the top right corner, your application will be sent to Lenra's servers and deployed to be accessible directly for the Lenra Store. | ||
Once your application is fully deployed on our servers, it will be accessible by clicking the `See my application` button. | ||
You can share this application by changing its visibility to `public` in the settings and sending the link to people (which should look close to **app.lenra.io/app/f6279d6a-3b71-4520-a7f8-0f7b28700de9**). | ||
|
||
Once your application is fully deployed on our servers, it will be accessible by clicking the `See my application` button. | ||
This will open a new tab with the application running on the Lenra client (still in beta). | ||
|
||
You can configure an external client to have advanced customisation on the UI of your app. | ||
Look at [the corresponding guide](../guides/create-client.html) to configure your clients. | ||
|
||
You also can configure the access to your application by reading [the corresponding guide](../guides/manage-access.html). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.