File tree Expand file tree Collapse file tree 1 file changed +22
-9
lines changed Expand file tree Collapse file tree 1 file changed +22
-9
lines changed Original file line number Diff line number Diff line change 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
1833SESSION_SECRET=your_random_secret
1934DICEGAME_FLAG=your_flag_here
2035CARDGAME_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
3245The application will be available on port 3000 by default.
3346
You can’t perform that action at this time.
0 commit comments