1.5.5 • Published 7 years ago

@unic/estatico-boilerplate v1.5.5

Weekly downloads
10
License
Apache-2.0
Repository
github
Last release
7 years ago

@unic/estatico-boilerplate

Demo repo based on old Estático. Tasks were completely replaced with new ones and the source files were adapted where necessary.

Installation

# Use git to get boilerplate subpackage from monorepo
# We are only interested in the current directory, so we can get rid of everthing else via `git filter-branch`
git clone https://github.com/unic/estatico-nou.git
cd estatico-nou
git filter-branch --subdirectory-filter packages/estatico-boilerplate

# Optionally use Docker container, see below

# Install correct node version
nvm install

# Install npm packages
npm install

Usage

  • Run default task, building everything and starting web server: $ npm run gulp -- --dev --watch
  • Run specific task: $ npm run html -- --dev

See gulpfile.js for details.

Docker

# Create image (only initially and after changes to the Dockerfile)
docker build -t estatico .

# Start container and mount project directory
docker container run -it -p 9000:9000 -p 35729:35729 -v $(pwd):/app estatico /bin/bash

# Continue above (nvm is preinstalled in the box)
# After installing the correct node version via nvm, it might be helpful to commit this new state so it is persisted for the next run:
# docker commit CONTAINER_ID estatico

License

Apache 2.0.

1.5.5

7 years ago

1.5.4

7 years ago

1.5.3

7 years ago

1.5.2

7 years ago

1.5.1

7 years ago

1.5.0

7 years ago

1.4.0

7 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago

0.0.22

7 years ago

0.0.21

7 years ago

0.0.20

7 years ago

0.0.19

7 years ago

0.0.18

7 years ago

0.0.17

7 years ago

0.0.16

7 years ago

0.0.15

7 years ago

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.2

7 years ago