Browse Source

Add app.json for deploying.

jackyalcine 5 months ago
parent
commit
b723b71c75
Signed by: Jacky Alciné <yo@jacky.wtf> GPG Key ID: 537A4F904B15268D
2 changed files with 29 additions and 4 deletions
  1. 25
    0
      app.json
  2. 4
    4
      web/static/assets/app.scss

+ 25
- 0
app.json View File

@@ -0,0 +1,25 @@
1
+{
2
+  "scripts": {
3
+    "dokku": {
4
+      "predeploy": "sh /tmp/koype-publish-docker/pre-deploy.sh",
5
+      "postdeploy": "sh /tmp/koype-publish-docker/post-deploy.sh"
6
+    }
7
+  },
8
+  "name": "Koype Publish",
9
+  "description": "An editor for Micropub sites.",
10
+  "repository": "https://git.jacky.wtf/indieweb/koype-publish",
11
+  "keywords": ["indieweb", "social", "koype", "koype publish", "micropub", "federated", "application", "app"],
12
+  "env": {
13
+    "SECRET_KEY_BASE": {
14
+      "generator": "secret"
15
+    },
16
+    "SESSION_SIGNING_SALT": {
17
+      "generator": "secret"
18
+    },
19
+    "GUARDIAN_SECRET_KEY": {
20
+      "generator": "secret"
21
+    }
22
+  },
23
+  "success_url": "/setup",
24
+  "website": "https://publish.koype.net/~/self-hosted"
25
+}

+ 4
- 4
web/static/assets/app.scss View File

@@ -6,17 +6,17 @@ $code: "Source Code Pro", monospace;
6 6
 
7 7
 body {
8 8
   @extend .bg-near-white, .near-black;
9
+
9 10
   > header {
10 11
     @extend .bg-near-black, .white, .pa3;
11 12
   }
12 13
 }
13 14
 
14
-
15
-.link:before {
15
+.link:after {
16 16
   content: "";
17 17
   position: absolute;
18 18
   width: 100%;
19
-  height: 2px;
19
+  height: 0.25rem;
20 20
   bottom: 0;
21 21
   left: 0;
22 22
   background-color: $blue;
@@ -27,7 +27,7 @@ body {
27 27
   transition: all 0.3s ease-in-out 0s;
28 28
 }
29 29
 
30
-.link:hover:before {
30
+.link:hover:after {
31 31
   visibility: visible;
32 32
   -webkit-transform: scaleX(1);
33 33
   transform: scaleX(1);

Loading…
Cancel
Save