Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

81 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CTF platform

Website for hosting my CTF challenges.

Live server at https://awr-uwin-ctf.vercel.app

Uses Next.js with Mantine UI and Prisma ORM

Generated from Next.js + Mantine template


Local Development Setup

Note: These steps are only for developers cloning this repo. You do not need to do this to use the deployed site.

Prerequisites

  • Node.js
  • Yarn package manager
  • Git

Installation

# 1. Clone the repo
git clone https://github.com/awrreny/ctf-platform.git
cd ctf-platform

# 2. Install dependencies
yarn

# 3. Create environment file (you will need to read through this and configure it to make it work)
cp .env.example .env

# 4. (Optional, to add your own challenges)
cp prisma/chal-seed-data-example.json prisma/chal-seed-data.json

# 5. Initialise database (make sure you are still in ctf-platform/)
yarn prisma generate
# change 'dev' to 'deploy' if in production
yarn prisma migrate dev
yarn prisma db seed

# 7. Run the development server
yarn dev

About

Website for hosting my CTF challenges

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages