enlacee / enlacee.github.io

create github page for your project

Home Page:http://enlacee.github.io.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Portfolio | Project Spa web with NuxtJs

source project reference

Web project 2014, all list timeline, Seo application

01. docker installation (recommended)

# Create Image from `Dockerfile`
docker build -t anibalcopitan.com .
docker run -it --rm -p 3000:3000 -v "$PWD"/spa-nuxtv2:/usr/app:rw anibalcopitan.com sh -c 'yarn install & yarn dev'

01.1 if fail the previus command

You needed debuger step to step the image Dockerfile or docker command

docker build -t anibalcopitan.com .
docker run -it --rm -p 3000:3000 -v "$PWD"/spa-nuxtv2:/usr/app:rw anibalcopitan.com sh
# into bash
yarn install
yarn dev

Explain last command line docker (building the temporal container) (development mood)

  • -it => Iteractive container
  • --rm => autoremove container to close iteractive docker console
  • -p 3000:3000 => used and open container port
  • -v "$PWD"/spa-nuxtv2:/usr/app:rw => indicate the volume (persistent data)
  • anibalcopitan.com => is the image named
  • sh -c 'yarn install & yarn dev' => way to execute the bash command

Addicional information

Into container box

    docker exec -i -t <dd28fae674bb> sh
    # yarn dev

Now the project is available in the local URL: http://localhost:3000/

thumb website

anibal copitan

02. simple Installation

Start application:

cd spa-nuxtv2/
yarn dev

Configuration

mv ./spa-nuxtv2/.env.dist ./spa-nuxtv2/.env

About

create github page for your project

http://enlacee.github.io.


Languages

Language:HTML 29.4%Language:SCSS 25.6%Language:Less 23.3%Language:CSS 15.3%Language:Vue 4.9%Language:JavaScript 1.3%Language:Dockerfile 0.0%Language:Shell 0.0%