|
1 | 1 | # Play online |
2 | 2 |
|
3 | | -## About Gitpod.io |
4 | | - |
5 | | -Gitpod is a cloud-based integrated development environment (IDE) that allows developers to work on their code projects collaboratively and efficiently. The online demo is built using [Gitpod](https://gitpod.io) and its Drupal integration, [DrupalPod](https://www.drupal.org/docs/develop/development-tools/drupalpod/getting-started). |
6 | | - |
7 | | - |
8 | | -Gitpod provides 50 hours per month for *free*, so you can just log in via GitHub and give it a try! |
9 | | - |
10 | | - |
11 | | -## Launch with Gitpod |
12 | | - |
13 | | -Launch one of the following environments with varying frontends: |
14 | | - |
15 | | -- [Drupal 11 + Nuxt3 Naked Demo](https://gitpod.io/new/#DP_PROJECT_NAME=lupus_decoupled,DP_ISSUE_BRANCH=1.x,DP_PROJECT_TYPE=project_module,DP_MODULE_VERSION=1.x,DP_CORE_VERSION=10.3,DP_PATCH_FILE=,FRONTEND_REPOSITORY=https%3A%2F%2Fgithub.com%2Fdrunomics%2Flupus-decoupled-nuxt3-demo,CUSTOM_ELEMENTS_VERSION=3.*,DP_INSTALL_PROFILE=standard/https://github.com/drunomics/lupus-decoupled-project/tree/main) - [Github](https://github.com/drunomics/lupus-decoupled-nuxt3-demo) |
16 | | -- [Drupal 11 + Nuxt3 Shadcn Demo](https://gitpod.io/new/#DP_PROJECT_NAME=lupus_decoupled,DP_ISSUE_BRANCH=1.x,DP_PROJECT_TYPE=project_module,DP_MODULE_VERSION=1.x,DP_CORE_VERSION=10.3,DP_PATCH_FILE=,FRONTEND_REPOSITORY=https%3A%2F%2Fgithub.com%2Fdrunomics%2Flupus-decoupled-nuxt3-demo-shadcn,CUSTOM_ELEMENTS_VERSION=3.*,DP_INSTALL_PROFILE=standard/https://github.com/drunomics/lupus-decoupled-project/tree/main) - [Github](https://github.com/drunomics/lupus-decoupled-nuxt3-demo-shadcn) |
17 | | -- [Drupal 11 + Next.js Demo](https://gitpod.io/new/#DP_PROJECT_NAME=lupus_decoupled,DP_ISSUE_BRANCH=1.x,DP_PROJECT_TYPE=project_module,DP_MODULE_VERSION=1.x,DP_PATCH_FILE=,FRONTEND_REPOSITORY=https%3A%2F%2Fgithub.com%2Fdrunomics%2Flupus-decoupled-nextjs-demo,CUSTOM_ELEMENTS_VERSION=3.*,DP_INSTALL_PROFILE=standard/https://github.com/drunomics/lupus-decoupled-project/tree/main) - [Github](https://github.com/drunomics/lupus-decoupled-nextjs-demo), (Proof of-concept, see README) |
18 | | - |
19 | | - |
20 | | -The environment takes a couple of minutes to launch and logs you into Drupal. Once it's finished, try adding some content nodes and menu items to see it working and continue with your [first steps](/get-started/first-steps) |
21 | | - |
| 3 | +## About GitHub Codespaces |
| 4 | + |
| 5 | +[GitHub Codespaces](https://github.com/features/codespaces) is a cloud-based development environment integrated with |
| 6 | +GitHub, allowing you to develop directly within your browser. It offers a free |
| 7 | +tier with a set number of usage hours per month, enabling you to explore |
| 8 | +projects like **Lupus Decoupled Drupal** without local setup. |
| 9 | + |
| 10 | +Github Codespaces provides 120 hours and 15 GB/month storage for *free*, so you |
| 11 | +can just log into GitHub and give it a try! |
| 12 | + |
| 13 | +## Quick Start with Preconfigured Codespaces |
| 14 | + |
| 15 | +Choose one of the following preconfigured development environments based on |
| 16 | +your needs (clicking on a link launches that Codespace): |
| 17 | +- [Standard Environment (Drupal 11 + Nuxt3 Naked)](https://codespaces.new/drunomics/lupus-decoupled-project?quickstart=1&devcontainer_path=.devcontainer%2Fbase_with_nuxt_naked%2Fdevcontainer.json) |
| 18 | +- [Drupal 11 + Nuxt3 Shadcn Demo](https://codespaces.new/drunomics/lupus-decoupled-project?quickstart=1&devcontainer_path=.devcontainer%2Fbase_with_nuxt_shadcn%2Fdevcontainer.json) |
| 19 | +- [Drupal 11 + Next.js Demo](https://codespaces.new/drunomics/lupus-decoupled-project?quickstart=1&devcontainer_path=.devcontainer%2Fbase_with_next%2Fdevcontainer.json) |
| 20 | + |
| 21 | +## How to Use It? |
| 22 | +1. Click on the link for your desired configuration. |
| 23 | +2. GitHub will automatically create a new Codespace with the selected setup. |
| 24 | +3. Wait for the container to initialize—this may take a few minutes. |
| 25 | +4. Once ready, the development environment is fully set up and running in your browser. |
| 26 | +5. In the `ports` tab there are links to the running services. |
| 27 | + - Frontend is available by clicking the link next to port 3000. |
| 28 | + - Backend is at port 80. By default it redirects to frontend. To prevent redirect visit the /user/login path of backend URL. |
| 29 | + |
| 30 | +The environment may take a few minutes to initialize. Once it's ready, you can add content nodes and menu items to explore its functionality. For further guidance, refer to the repository's README file. |
| 31 | +By utilizing GitHub Codespaces, you can efficiently explore and develop with Lupus Decoupled Drupal without the need for local installations. |
| 32 | + |
| 33 | +## What’s Included in the Setup? |
| 34 | +A fully configured development container with all dependencies. |
| 35 | +Automatic port forwarding for running services. |
| 36 | +Preloaded DDEV setup for Drupal development. |
0 commit comments