Skip to content

jacquev6/vincent-jacques.net

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

vincent-jacques.net

Install dependencies

docker volume create vjnet_node_modules

docker run \
    --interactive --tty --rm \
    --volume $PWD:/app \
    --workdir /app \
    --volume vjnet_node_modules:/app/node_modules \
    node:15-buster npm install

Add a development dependency:

docker run \
    --interactive --tty --rm \
    --volume $PWD:/app \
    --workdir /app \
    --volume vjnet_node_modules:/app/node_modules \
    node:15-buster npm install --save-dev sass sass-loader fibers

Serve the development version

docker run \
    --interactive --tty --rm \
    --volume $PWD:/app \
    --workdir /app \
    --volume vjnet_node_modules:/app/node_modules \
    --publish 3000:3000 \
    node:15-buster npm run dev

Then go to http://localhost:3000.

Build static site for production

docker run \
    --rm \
    --volume $PWD:/app \
    --workdir /app \
    --volume vjnet_node_modules:/app/node_modules \
    node:15-buster npm run generate

Then git commit, git push, let GitHub Pages do their magic, and go to https://vincent-jacques.net.

About

The static part of my website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published