This commit is contained in:
uetchy 2017-12-27 15:12:26 +09:00
parent 61d65e9bac
commit 430d14a9e7
4 changed files with 6 additions and 36 deletions

View File

@ -14,15 +14,4 @@ COPY Gemfile /usr/src/app/
COPY Gemfile.lock /usr/src/app/ COPY Gemfile.lock /usr/src/app/
RUN bundle install RUN bundle install
COPY . /usr/src/app COPY . /usr/src/app
# set locale
# RUN apt-get install -y locales
# RUN dpkg-reconfigure locales && \
# locale-gen C.UTF-8 && \
# /usr/sbin/update-locale LANG=C.UTF-8
# RUN echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && \
# locale-gen
# ENV LC_ALL C.UTF-8
# ENV LANG en_US.UTF-8
# ENV LANGUAGE en_US.UTF-8

View File

@ -1,17 +1,12 @@
# uechi.io [![Build Status](https://travis-ci.org/uetchy/uetchy.github.io.svg?branch=master)](https://travis-ci.org/uetchy/uetchy.github.io) # uechi.io
[![Build Status](https://travis-ci.org/uetchy/uetchy.github.io.svg?branch=master)](https://travis-ci.org/uetchy/uetchy.github.io)
## Build ## Build
``` ```
script/bootstrap docker-compose run web bundle install
script/server docker-compose up --build
```
### Docker
```
docker-compose build
docker-compose up
``` ```
## Test ## Test

View File

@ -1,8 +0,0 @@
#!/bin/sh
# usage: script/bootstrap
#
# Setup dev env
gem install bundler
bundle install
npm install

View File

@ -1,6 +0,0 @@
#!/bin/sh
# usage: script/server
#
# Run the jekyll server
bundle exec jekyll serve --baseurl '' --watch --drafts --unpublished