knit-pk / homepage-nuxtjs

Here we're trying to ship the front of homepage of KNIT
MIT License
13 stars 0 forks source link
docker express homepage nodejs nuxt vue

Build status Maintainability Greenkeeper badge Slack Status MIT Licence Open Source Love

Build Setup

Project can be run for development in two different ways.

NodeJS

# create own .env file
$ cp .env.example .env

# install dependencies
$ yarn

# serve with hot reload at localhost:3000
$ yarn run dev

# build for production and launch server
$ yarn run build
$ yarn start

# generate static project
$ yarn run generate

Docker

At first, make sure you have installed latest stable version of docker and docker-compose packages in your system.

Most of the times that's the only commands you'll need:

Nuxt.js

For detailed explanation on how things work, checkout the Nuxt.js docs.