Skip to content

thom4parisot/emunova.net

Repository files navigation

Install

$ brew install hugo
$ git clone https://github.com/oncletom/emunova.net.git --branch master --single-branch
$ cd emunova.net
$ npm install

Assembling

Production

$ npm run generate-thumbs
$ npm run build

Files will be available in the ./public folder.

Development

$ npm start

Website will be available at localhost:1313.

Migrating content

Setup database connection

A valid connection to a dump of Emu Nova v2 database is required.

export MYSQL_CONNECTION='mysql://<user>:<password>@host/db'

Run the migration script

$ node ./bin/migrate <content-type>