knit-pk / homepage-nuxtjs

Here we're trying to ship the front of homepage of KNIT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

  • Running project
    $ docker-compose up
    $ docker-compose up -d # run in background
  • Stopping project
    $ docker-compose stop

If you're changing build configuration (Dockerfile or build.* options in docker-compose.yml), you'll have to force rebuild the project

$ docker-compose up --build

Nuxt.js

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

About

Here we're trying to ship the front of homepage of KNIT

License:MIT License


Languages

Language:Vue 67.3%Language:JavaScript 23.5%Language:CSS 7.6%Language:Shell 1.3%Language:Dockerfile 0.3%