GithubHelp home page GithubHelp logo

pn11 / okalab Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 237 KB

https://pn11.github.io/okalab

Home Page: https://pn11.github.io/okalab

License: MIT License

HTML 46.66% Ruby 4.00% Dockerfile 2.86% SCSS 44.66% Shell 1.83%

okalab's Introduction

Okalab Website

https://pn11.github.io/okalab

ディレクトリ構成

_config.yml # Jekyll の設定。編集したら Jekyll を立ち上げ直す必要がある
_site # Jekyll が生成した静的なページがここに入る
_data # データを入れておく
_includes # ヘッダーやフッターなど共通部分を編集する
_layouts # ページのレイアウトを決める
_posts # 新しいお知らせはここに追加する
_sass # ページのデザインを決める

ページ内容を記述する Markdown はこの README.md と同じディレクトリに置く (Jekyll には場所を指定するオプションがあるが GitHub Pages では使えない)。

開発用情報

Theme

minima テーマを編集する。テーマを編集するには、元のファイルを _includes, _layouts にコピーして編集すれば上書きされる (Overriding theme defaults)。

Build

Ruby が入っていれば大体これで動く。
--future をつけないと未来の日付のポストはビルドされない。

gem install bundler jekyll
bundle install
bundle exec jekyll serve  --future --draft

Dockerでやる場合

Intel/AMD 64

Mac (Homebrew) の Ruby が 3.0 になって動かなくなったので Docker 作った。

bash _serve-docker-amd64.sh
ARMv8

使っている Chromebook (Lenovo Ideapad Duet) で Ruby の環境を作るのが難しかったので Docker でやった。

bash _serve-docker-armv8.sh

okalab's People

Contributors

pn11 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.