All Projects → acgotaku → IceHoney-BLOG

acgotaku / IceHoney-BLOG

Licence: other
A blog for myself.

Programming Languages

Vue
7211 projects
stylus
462 projects
javascript
184084 projects - #8 most used programming language
typescript
32286 projects
Dockerfile
14818 projects

IceHoney Blog

Development Environment

Setup Requirements

Boot up

$ docker-compose up --build

To run it in background (detached mode), just add -d option

$ docker-compose up --build -d

Debug mode

Remove running blog container if it exists:

$ docker-compose ps
$ docker-compose rm -sfv blog

Create a blog container and enter bash:

$ docker-compose run --no-deps --rm --service-ports blog bash
root@0bf757d0388e:/blog/current# yarn dev

Wait a few seconds and then visit http://localhost:8080/.

Tear down

$ docker-compose down -v

Deployment

Build

We can run below command to generate build files.

$ docker build -t blog --no-cache .
$ docker run --rm -v `pwd`/dist:/blog/current/dist blog yarn build

The build files locate at dist directory.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].