Twelve-Factor App に準拠した Web アプリケーション開発について
Docker is a containerization tool used for spinning up isolated, reproducible application environments. This piece details how to containerize a Django Project, Postgres, and Redis for local development along with delivering the stack to the cloud via Docker Compose and Docker Machine. In the end, the stack will include a separate container for each service: 1 web/Django container 1 nginx containe
from django.test import TestCase import redis class Test(TestCase): def setUp(self): self.r = redis.StrictRedis(host="redis") self.r.flushdb() def test_ok(self): self.assertEqual(1, 1) def test_error(self): self.assertEqual(2, 1) def test_redis(self): self.assertEqual(self.r.get("name"), None) self.r.set("name", "name") self.assertEqual(self.r.get("name"), "name") $ docker-compose run web Creating
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く