mirror of
https://github.com/acid-info/free.technology.git
synced 2026-08-27 15:21:09 +00:00
develop
IFT
This project is tested with BrowserStack.
Test pages
next-mdx-remotetest page: '/'@next/mdxtest page: '/test'
How to Run Locally
- Clone this repository
$ git clone https://github.com/acid-info/ift.git
- Install the dependencies:
$ yarn install
- Set .env
- Get Github Personal Access Token at https://github.com/settings/tokens/new?scopes=repo
NEXT_PUBLIC_SITE_URL=
NEXT_GITHUB_PERSONAL_ACCESS_TOKEN=
- Start the development server:
$ yarn dev
- Visit
http://localhost:3000in your browser
How to Run a Build (Production Build)
- Generate files for production:
$ yarn build
The files will be created in the build directory.
- Serve the build:
$ yarn start
- Visit
http://localhost:3000in your browser.
Keep in mind this webpage rebuilds itself at runtime.
CI/CD
- The
masterbranch is deployed via CI to https://free.technology/. - The
developbranch is deployed via CI to https://dev.free.technology/.
Change Process
-
Create a new working branch from
develop:git checkout develop; git checkout -b my-changes. -
Make your changes, push them to the
origin, and open a Pull Request against thedevelopbranch. -
After approval, merge the pull request, and verify the changes on the staging server (https://dev.logos.co/).
-
When ready to promote changes to the live website, create a pull request against the "master" branch, based on the "develop" branch.
License
This project is licensed under the terms of the MIT License.
Languages
TypeScript
95.7%
MDX
3.2%
JavaScript
0.8%
Dockerfile
0.3%