LoginSignup
3
4

More than 1 year has passed since last update.

AtCoder-cli 環境をDocker化した話

Last updated at Posted at 2022-01-23

はじめに

表題の通りである
AtCoder参加回数数回のひよっこであるが、テスト環境をDockerの練習ついでに仮想化してみた.
Docker がまだしっかりわかっておらず、Node + Python の、2つの環境を交えたものの作り方がわからなかったので、下記の方のimageをベースとして作成した。

手順

  • git clone
git clone https://github.com/oura-hideyoshi/Atcoder-env
  • Docker-compose
docker-compose up -d

もしくは、VSCodeで作業される方は、拡張機能のremote-containers の機能の
reopen-containers
からcontainer作成

以上で環境が構築される。手軽すぎ

atcoder-cliを使うまでの流れ

 
下記参照

今回は全てpythonで行っている

参考

atcoder初心者こそ環境構築しよう!(atcoder-cli,online-judge-toolsのインストール、使い方)
https://qiita.com/Adaachill/items/3d4ddad56c5c2cc372cd

atcoder-cli チュートリアル
http://tatamo.81.la/blog/2018/12/07/atcoder-cli-tutorial/

3
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
4