Skip to content

cat73220/testing_github_workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Livemasq Website

lint

目次

実行環境

必要なソフトウェア

asdf

実行方法

  1. GitHubからリポジトリーをクローンする

     $ cd && git clone [email protected]:a-ibs/livemasq-website.git \
         && cd livemasq-website
    
  2. asdfのプラグインを追加する

     $ asdf plugin-add direnv \
         ; asdf plugin-add nodejs \
         ; asdf plugin-add python \
         ; asdf plugin-add yarn
    
  3. Node.jsリリースチームのPGPキーを追加する

     $ bash ~/.asdf/plugins/nodejs/bin/import-release-team-keyring
    
  4. asdf(仮想環境)にPythonやNode.jsのモジュールをインストールする

     $ asdf install
    
  5. livemasq-websiteの開発環境構築に必要な依存パッケージをインストールする

     $ yarn \
         && pip install --requirement requirements.txt
    
  6. mdファイルをhtmlファイルにトランスパイルし、localhostにサーバーを立ち上げる

     $ yarn start
    

上記実行後、 ブラウザーで http://127.0.0.1:8000/ にアクセスする

Build

    $ yarn build:stage

または

    $ yarn build:production

Lint

  1. 手動で試す

     $ pre-commit run --all-files
    
  2. うまくいったらGit フックとして設定してlintを自動化する

     $ pre-commit install
    

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published