Logos Press Engine website https://press.logos.co
Go to file
Hossein Mehrabi 61162e2142
chore: remove temporary logs
2023-09-18 14:23:22 +03:30
.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: use custom username and avatar for discord notification messages 2023-09-12 15:05:33 +03:30
src chore: remove temporary logs 2023-09-18 14:23:22 +03:30
.dockerignore ci: add Dockerfile and .dockerignore files 2023-08-22 18:12:14 +03:30
.env chore: remove default value for NEXT_PUBLIC_SITE_URL in the .env file 2023-09-18 14:23:11 +03:30
.eslintrc.json fix build errors 2023-05-15 17:13:23 +09:00
.gitignore feat: RSS feed; refs #123 2023-09-18 13:11:43 +03:30
.prettierrc chore: organize imports with prettier 2023-08-30 16:14:46 +03:30
Dockerfile ci: fix missing build-arg flags for credentials 2023-08-30 16:49:11 +02:00
Jenkinsfile ci: add Discord notifications for docker builds 2023-09-12 10:27:13 +02:00
README.md docs: update README 2023-09-07 00:51:27 +09:00
apollo.config.js refactor: Unbody lib, client, service, transformers and data types 2023-08-09 15:40:46 +03:30
codegen.ts ci: add Jenkinsfile and improve Dockerfile 2023-08-30 16:35:39 +02:00
next.config.js feat: add youtube thumbnail 2023-08-19 02:55:18 +09:00
package.json feat: RSS feed; refs #123 2023-09-18 13:11:43 +03:30
tsconfig.json feat: implement header 2023-04-18 21:29:54 +09:00
yarn.lock feat: RSS feed; refs #123 2023-09-18 13:11:43 +03:30

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

  • Unbody : CMS

Environment Variables

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

UNBODY_API_KEY=
UNBODY_PROJECT_ID=
SIMPLECAST_ACCESS_TOKEN=
REVALIDATE_WEBHOOK_TOKEN=
NEXT_PUBLIC_SITE_URL=https://press.logos.co

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

You can obtain an Unbody API key and project ID through your Unbody project.

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.