/NextSimpleStarter

Primary LanguageJavaScriptMIT LicenseMIT

logo

travis-ci codeclimate-gpa-badge codeclimate-issues-badge

Simple NextJS PWA boilerplate.

Contents

Installation

Clone repo:

git clone https://github.com/ooade/NextSimpleStarter.git
cd NextSimpleStarter

Make it your own:

rm -rf .git && git init && yarn init

ℹ️ This re-initializes the repo and sets up your project.

Install the dependencies:

yarn install

or

npm install

Development Workflow

Start a live-reload development server:

yarn dev

or

npm run dev

Generate a production build:

yarn build

or

npm run build

Deploy to Now

now dev

For production, update alias in the now.json ie "alias": "nextss-yourname.now.sh",

now

Deploy to now

Deploy to Heroku

Just follow Mars's Guide and you're good to go 👏

Deploy to Netlify

  • On netlify, Click on new site from git.
  • Select Cloned Repository.
  • Choose VCS.
  • Add build command npm run export.
  • Add publish directory out.

Deploy to Gitpod

Click here to deploy on Gitpod.

Contribution

I'm open to contributions & suggestions in making this a lot better ✋

License

MIT