1.5.5 • Published 5 years ago

@unic/estatico-boilerplate v1.5.5

Weekly downloads
10
License
Apache-2.0
Repository
github
Last release
5 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

5 years ago

1.5.4

5 years ago

1.5.3

5 years ago

1.5.2

5 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.0

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago

0.0.22

6 years ago

0.0.21

6 years ago

0.0.20

6 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.2

6 years ago