ソースを参照

Add working image setup

Oz Tiram 1 年間 前
コミット
715423ce5b

+ 50 - 0
Pipfile.lock

@@ -0,0 +1,50 @@
+{
+    "_meta": {
+        "hash": {
+            "sha256": "0e98756545353a796b37d4b1545d47d548b3816d191f05894bc1decb3a032a39"
+        },
+        "pipfile-spec": 6,
+        "requires": {},
+        "sources": [
+            {
+                "name": "pypi",
+                "url": "https://pypi.python.org/simple",
+                "verify_ssl": true
+            }
+        ]
+    },
+    "default": {
+        "asgiref": {
+            "hashes": [
+                "sha256:89b2ef2247e3b562a16eef663bc0e2e703ec6468e2fa8a5cd61cd449786d4f6e",
+                "sha256:9e0ce3aa93a819ba5b45120216b23878cf6e8525eb3848653452b4192b92afed"
+            ],
+            "markers": "python_version >= '3.7'",
+            "version": "==3.7.2"
+        },
+        "django": {
+            "hashes": [
+                "sha256:45a747e1c5b3d6df1b141b1481e193b033fd1fdbda3ff52677dc81afdaacbaed",
+                "sha256:f7c7852a5ac5a3da5a8d5b35cc6168f31b605971441798dac845f17ca8028039"
+            ],
+            "index": "pypi",
+            "version": "==4.2.3"
+        },
+        "sqlparse": {
+            "hashes": [
+                "sha256:5430a4fe2ac7d0f93e66f1efc6e1338a41884b7ddf2a350cedd20ccc4d9d28f3",
+                "sha256:d446183e84b8349fa3061f0fe7f06ca94ba65b426946ffebe6e3e8295332420c"
+            ],
+            "markers": "python_version >= '3.5'",
+            "version": "==0.4.4"
+        },
+        "uwsgi": {
+            "hashes": [
+                "sha256:35a30d83791329429bc04fe44183ce4ab512fcf6968070a7bfba42fc5a0552a9"
+            ],
+            "index": "pypi",
+            "version": "==2.0.21"
+        }
+    },
+    "develop": {}
+}

BIN
catster/static/catster/example.jpg


+ 3 - 0
catster/static/catster/style.css

@@ -0,0 +1,3 @@
+h1 {
+	color: green;
+}

BIN
templates/catster/.index.html.swp


+ 6 - 0
templates/catster/index.html

@@ -0,0 +1,6 @@
+{% load static %}
+<link rel="stylesheet" type="text/css" href="{% static 'catster/style.css' %}">
+
+<h1>Helloo</h1>
+
+<img src="{% static "catster/example.jpg" %}" alt="Hi!" />