Logos Press Engine website https://press.logos.co
Go to file
Vedran Mendelski eef9bc3024
ci: trigger ci
2024-08-15 18:51:09 +02:00
.github docs: add issue and PR templates 2023-09-27 23:36:05 +09:00
.husky configure husky and lint-staged 2023-04-19 21:21:26 +09:00
assets refactor: update og image design 2023-08-30 21:20:38 +09:00
public fix: keep public/rss dir 2024-02-02 17:46:54 +03:30
src style: implement design update request 2024-07-07 22:36:51 +09:00
.dockerignore ci: add Dockerfile and .dockerignore files 2023-08-22 18:12:14 +03:30
.env refactor: remove unbody service 2024-01-23 19:21:20 +03:30
.eslintrc.json fix build errors 2023-05-15 17:13:23 +09:00
.gitignore remove rss files from git 2024-01-25 13:06:06 +00:00
.prettierrc chore: organize imports with prettier 2023-08-30 16:14:46 +03:30
Dockerfile build: upgrade node version 2024-03-19 23:24:53 +09:00
Jenkinsfile fix: stop pushing tags named after commits 2024-05-20 18:10:18 +02:00
README.md refactor: remove unbody service 2024-01-23 19:21:20 +03:30
apollo.config.js feat: implement initial strapi integration 2024-01-18 16:13:37 +03:30
codegen.ts feat: implement initial strapi integration 2024-01-18 16:13:37 +03:30
next.config.js chore: update image source domains 2024-01-30 15:15:46 +03:30
package.json fix: upgrade to next 14.1.3 to solve memory leak issue 2024-03-19 22:10:57 +09:00
tsconfig.json refactor: update fathom types 2023-10-25 23:40:44 +09:00
yarn.lock fix: upgrade to next 14.1.3 to solve memory leak issue 2024-03-19 22:10:57 +09:00

README.md

Logos Press Engline

The repository for press.logos.co website.

Tech Stacks

  • NextJS : React Framework

  • LSD : Design System

  • Hookstate : State Management

  • Emotion: CSS-in-JS

  • Strapi : CMS

Environment Variables

Please check the environment values in .env located in the root directory.

SIMPLECAST_ACCESS_TOKEN=
REVALIDATE_WEBHOOK_TOKEN=
NEXT_PUBLIC_SITE_URL=https://press.logos.co
FATHOM_SITE_ID=

This is a template for .env.local, which is included in .gitignore.

To find the Simplecast access token, follow these steps on the Simplecast dashboard:

  1. Click the gear button in the top-right corner.

  2. Select Private Apps to acquire your JWT bearer token.

How to Run Locally

  1. Clone this repository
$ git clone https://github.com/acid-info/logos-press-engine.git
  1. Install the dependencies:
$ yarn install
  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-press.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.