Skip to content

Commit 6d043b6

Browse files
feat: added solid next ldo guide (#8)
1 parent b55dc69 commit 6d043b6

2 files changed

Lines changed: 31 additions & 1 deletion

File tree

docs/guides/solid_next_ldo_demo.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Solid + Next.js + LDO: Demo Application Guide
2+
3+
This is a tutorial on how to create a Solid Application using [Next.js](https://nextjs.org/), [LDO](https://ldo.js.org/latest/) and [ACP](https://solidproject.org/TR/acp).
4+
5+
The following instructions are meant to guide you through running the Solid Next ldo Demo Application ([code is available on github](https://github.com/solid/solid-next-ldo-demo/)).
6+
7+
## Prerequisite
8+
9+
Download the [solid/solid-next-ldo-demo](https://github.com/solid/solid-next-ldo-demo/) code on GitHub.
10+
11+
## How To
12+
13+
Follow the [README instructions](https://github.com/solid/solid-next-ldo-demo) to setup and run the demo app.
14+
15+
The application code is commented to help you understand and learn a simple solid application development pattern.
16+
17+
## About Solid Servers
18+
19+
The Solid Next ldo application runs a [Community Solid Server](https://communitysolidserver.github.io/CommunitySolidServer/latest/) (CSS) instance in development.
20+
21+
It is easy to configure an alternative solid server via the environment variable `NEXT_PUBLIC_BASE_URI`.
22+
23+
When you want to run a similar application in production, you will want to configure it so that it uses a solid server available via the internet instead of localhost.
24+
25+
You could [create a Pod](https://solidproject.org/get_a_pod) with one of the existing providers.
26+
27+
Or you could host your own Pod with the Community Solid Server.
28+
29+
You can follow the instructions in [solid/css-azure-app-service](https://github.com/solid/css-azure-app-service) to deploy the CSS to Azure.

docs/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22

33
## Guides
44

5-
- [Building your first Solid App with LDO & React](guides/ldo_react)
5+
- [Building your first Solid App with LDO & React](guides/ldo_react)
6+
- [Demo Application using Solid + Next.js + LDO](guides/solid_next_ldo_demo.md)

0 commit comments

Comments
 (0)