Go to file
jinhojang6 5902e867b6 chore: add keycard 2023-11-14 22:41:03 +09:00
.github first commit 2023-10-18 00:12:25 +09:00
.husky first commit 2023-10-18 00:12:25 +09:00
hooks feat: add services page 2023-11-10 01:38:54 +09:00
public chore: add keycard 2023-11-14 22:41:03 +09:00
src chore: add keycard 2023-11-14 22:41:03 +09:00
utils feat: update challenges 2023-11-14 00:31:04 +09:00
.dockerignore first commit 2023-10-18 00:12:25 +09:00
.env challenge data fetching 2023-11-03 14:53:38 +09:00
.eslintrc.json first commit 2023-10-18 00:12:25 +09:00
.gitignore first commit 2023-10-18 00:12:25 +09:00
.prettierrc first commit 2023-10-18 00:12:25 +09:00
Dockerfile first commit 2023-10-18 00:12:25 +09:00
Jenkinsfile chore: update metadata 2023-10-18 00:18:22 +09:00
README.md challenge data fetching 2023-11-03 14:53:38 +09:00
mdx-components.tsx first commit 2023-10-18 00:12:25 +09:00
next.config.js refactor: refactor ChallengeItem 2023-11-14 22:38:31 +09:00
package.json style: update style details 2023-11-10 21:17:41 +09:00
tsconfig.json first commit 2023-10-18 00:12:25 +09:00
yarn.lock style: update style details 2023-11-10 21:17:41 +09:00

README.md

IFT

Test pages

  • next-mdx-remote test page: '/'
  • @next/mdx test page: '/test'

How to Run Locally

  1. Clone this repository
$ git clone https://github.com/acid-info/ift.git
  1. Install the dependencies:
$ yarn install
  1. Set .env
NEXT_PUBLIC_SITE_URL=
NEXT_GITHUB_PERSONAL_ACCESS_TOKEN=
  1. Start the development server:
$ yarn dev
  1. Visit http://localhost:3000 in your browser

How to Run a Static Build (Production Build)

  1. Generate static files for production:
$ yarn build

The static files will be created in the build directory.

  1. Serve the static build:
$ yarn start
  1. Visit http://localhost:3000 in your browser.

CI/CD

  • The master branch is automatically deployed to the production server (e.g., logos.co) through CI
  • The develop branch is automatically deployed to the staging server (e.g., dev.logos.co) through CI

Change Process

  1. Create a new working branch from develop: git checkout develop; git checkout -b my-changes.

  2. Make your changes, push them to the origin, and open a Pull Request against the develop branch.

  3. After approval, merge the pull request, and verify the changes on the staging server (https://dev.logos.co/).

  4. When ready to promote changes to the live website, create a pull request against the "master" branch, based on the "develop" branch.