Skip to content

Commit 8015c56

Browse files
committed
updated Docu
1 parent 035a018 commit 8015c56

File tree

2 files changed

+38
-18
lines changed

2 files changed

+38
-18
lines changed

README.md

Lines changed: 34 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,27 +22,47 @@ Welcome to the **Next.js Workshop**, designed to guide you through the basics of
2222
5. [Why Learn Next.js?](#why-learn-nextjs)
2323
6. [Learning Resources](#learning-resources)
2424

25+
---
26+
2527
## **Setup**
2628

2729
### **Navigate to the Project Folder**
2830

29-
Open your terminal and move into the workshop directory:
30-
```bash
31-
cd nextjs_assignment
32-
```
33-
34-
### **Run the Docker Environment**
35-
36-
1. Build the Docker container:
31+
1. **Clone the Repository:**
32+
Start by cloning the repository:
3733
```bash
38-
docker-compose build
39-
```
40-
2. Start the container:
41-
```bash
42-
docker-compose up
34+
git clone https://github.com/sebivenlo/esd-2024-nextjs_workshop.git
4335
```
36+
37+
2. **Open the Next.js Assignment Folder:**
38+
In VS Code:
39+
- Go to **File** > **Open Folder**.
40+
- Select the `nextjs_assignment` folder from the cloned repository.
41+
42+
---
4443

45-
The app will be accessible at `http://localhost:3000`.
44+
### **Run the Dev Container in VS Code**
45+
46+
1. **Reopen in Container:**
47+
After opening the `nextjs_assignment` folder in VS Code, you should see a pop-up message suggesting:
48+
> *"Folder contains a Dev Container configuration. Would you like to reopen it in a container?"*
49+
50+
If the message does not appear:
51+
- Press **Ctrl + Shift + P** (or **Cmd + Shift + P** on Mac).
52+
- Select **Remote-Containers: Reopen in Container**.
53+
54+
2. **Let the Container Build:**
55+
- VS Code will build the container, install dependencies, and set up the environment.
56+
- This may take a few minutes during the first build.
57+
58+
3. **Start the Next.js Development Server:**
59+
Once the container is ready:
60+
- Open the integrated terminal in VS Code (**Ctrl + `**).
61+
- Run the following command:
62+
```bash
63+
npm run dev
64+
```
65+
- Visit `http://localhost:3000` in your browser to view the app.
4666

4767
---
4868

nextjs_assignment/src/app/page.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ export default function HomePage() {
99
Master Next.js with hands-on learning. Presented by <strong>Julian Köser</strong> and <strong>Kenan Sen</strong>.
1010
</p>
1111
<div className="mb-8 text-gray-600">
12-
<p className="font-semibold">Modulfsdefwwfe:</p>
13-
<p className="font-semibold">Fontys fewfffewfwef</p>
14-
<p className="font-semibold">hilfe 55 lo</p>
12+
<p className="font-semibold">Module: ESD</p>
13+
<p className="font-semibold">Fontys Venlo</p>
14+
<p className="font-semibold">9 December 2024</p>
1515
</div>
1616
<button className="px-8 py-4 bg-gradient-to-r from-purple-500 to-blue-600 text-white font-bold rounded-lg shadow-lg hover:shadow-2xl hover:from-purple-600 hover:to-blue-700 transition duration-300">
17-
Get Sta
17+
Get Started
1818
</button>
1919
</div>
2020
</div>

0 commit comments

Comments
 (0)