- Clone this repository
$ git clone https://github.com/acid-info/logos-nextjs-starter.git- Install the dependencies:
$ yarn install- Set .env
NEXT_PUBLIC_API_URL=
- Start the development server:
$ yarn dev- Visit
http://localhost:3000in your browser
- Generate files for production:
$ yarn buildThe 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.
-
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.
-
When ready to promote changes to the live website, create a pull request against the "master" branch, based on the "develop" branch.