Skip to content

Commit c906f73

Browse files
committed
Update README.md
1 parent fa2375e commit c906f73

File tree

1 file changed

+22
-9
lines changed

1 file changed

+22
-9
lines changed

README.md

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,25 +9,38 @@
99
## Setup Requirements
1010

1111
- Docker
12+
- Git
1213

13-
## Environment Variables
14+
## Getting Started
1415

15-
The following environment variables are required:
16+
### Clone the Repository
17+
18+
```bash
19+
# Using HTTPS
20+
git clone https://github.com/ruelalarcon/game_logic_exploits_ctf.git
21+
cd game_logic_exploits_ctf
22+
23+
# Or using SSH
24+
git clone git@github.com:ruelalarcon/game_logic_exploits_ctf.git
25+
cd game_logic_exploits_ctf
26+
```
27+
28+
### Environment Setup
29+
30+
Create a `.env` file in the root directory with the following variables:
1631

1732
```env
1833
SESSION_SECRET=your_random_secret
1934
DICEGAME_FLAG=your_flag_here
2035
CARDGAME_FLAG=your_flag_here
2136
```
2237

23-
## Deployment Instructions
38+
### Deploy with Docker
2439

25-
1. Clone this repository
26-
2. Create a `.env` file with the required environment variables
27-
3. Build and start the container:
28-
```bash
29-
docker compose up -d
30-
```
40+
Build and start the container:
41+
```bash
42+
docker compose up -d
43+
```
3144

3245
The application will be available on port 3000 by default.
3346

0 commit comments

Comments
 (0)