free.technology/README.md

1.6 KiB

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 Build (Production Build)

  1. Generate files for production:
$ yarn build

The files will be created in the build directory.

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

Keep in mind this webpage rebuilds itself at runtime.

CI/CD

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.