Skip to content

Otenki Girl website, used as the base project of CTF challenges.

License

Notifications You must be signed in to change notification settings

cnily03-hive/OtenkiGirl

Repository files navigation

Otenki Girl

Install Dependencies

npm i --production # For production environment
npm i # For development environment

Edit Configurations

Create and edit file config.js at the root of the project.

Configuration is same as config.default.js, and it will cover the default configuration.

Build

npm run build # Build for production environment
npm run build:dev # Build for development environment

Run

Before starting the app, you should init the database.

npm run init

Then you can start the app.

npm start # Run for production environment
npm run dev # Run for development environment

Change Language

type at front-end console:

setLanguage('ja') // set language for example
resetLanguage() // reset language