Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 1.09 KB

README.md

File metadata and controls

59 lines (36 loc) · 1.09 KB

Logos NextJS Starter

How to Run Locally

  1. Clone this repository
$ git clone https://github.com/acid-info/logos-nextjs-starter.git
  1. Install the dependencies:
$ yarn install
  1. Set .env
NEXT_PUBLIC_API_URL=
  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.

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.

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