Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latest #7

Open
wants to merge 325 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
325 commits
Select commit Hold shift + click to select a range
ac4510f
github actions : yes
qfunq Oct 15, 2021
2b18354
github actions : debugging
qfunq Oct 15, 2021
86aa00b
github actions : no yes
qfunq Oct 15, 2021
53faaa6
github actions : psql setup
qfunq Oct 15, 2021
467ab1a
github actions : postgres not running?
qfunq Oct 15, 2021
9d6abb6
github actions : more sudos
qfunq Oct 15, 2021
c9f8006
github actions : pg_ctl
qfunq Oct 15, 2021
2618b9a
github actions : sudo pg_ctl
qfunq Oct 15, 2021
24ee808
github actions : removed pg_ctl
qfunq Oct 15, 2021
8336a70
github actions : sudo pg_ctlcluster 12 main start
qfunq Oct 15, 2021
549b35d
github actions : localhost db
qfunq Oct 15, 2021
5a4bf04
github actions : postgres still sleepy
qfunq Oct 15, 2021
b607d54
CI : postgres ...
qfunq Oct 15, 2021
e6a0597
CI : why ubuntu ... fedora pls
qfunq Oct 15, 2021
b8d28a2
CI : why ubuntu? PGPASSWD=admin
qfunq Oct 15, 2021
cfc01ec
CI : why ubuntu???? PGPASSWD=admin
qfunq Oct 15, 2021
325949a
CI : why ubuntu???? PG
qfunq Oct 15, 2021
efa6d98
CI : why ubuntu? x 10
qfunq Oct 15, 2021
c0ba759
CI : why ubuntu? x 11
qfunq Oct 15, 2021
fd175ff
CI : why ubuntu? sudo su -
qfunq Oct 15, 2021
50026ca
CI : container code for pg and node
qfunq Oct 15, 2021
4a88d19
CI : fixing up yaml
qfunq Oct 15, 2021
75591b1
CI : fixing up yaml: 2
qfunq Oct 15, 2021
07f5afe
CI : fixing up yaml: 3
qfunq Oct 15, 2021
49822d6
CI : fixing up yaml: 4
qfunq Oct 15, 2021
65341d8
CI : fixing up yaml: 5
qfunq Oct 15, 2021
9e1b2ac
CI : fixing up yaml: 6
qfunq Oct 15, 2021
a3c7333
CI : yaml hell: 7
qfunq Oct 15, 2021
c64d15d
CI : yaml hell: 8
qfunq Oct 15, 2021
689e390
CI : smaller runs, actions not echoing
qfunq Oct 15, 2021
db3e2e0
CI : smaller runs: 2
qfunq Oct 15, 2021
c7fb634
CI : smaller runs: 3
qfunq Oct 15, 2021
f0bf721
CI : rewrote dbUrl to be more CI friendly
qfunq Oct 15, 2021
ab6c5b6
CI : logging db url
qfunq Oct 15, 2021
5f91d9a
CI : env issues
qfunq Oct 15, 2021
45a5425
CI : dbUrl issue: testing
qfunq Oct 15, 2021
7349d4d
CI : env getting corrupted
qfunq Oct 15, 2021
69595cf
CI : backslash?
qfunq Oct 15, 2021
e963241
CI : echo? running out of ideas ;)
qfunq Oct 15, 2021
008ebbb
CI : ... another go
qfunq Oct 15, 2021
c7e84f7
CI : ... another go 2
qfunq Oct 15, 2021
ad50c79
CI : ... another go 3
qfunq Oct 15, 2021
a120319
CI : ... another go 4
qfunq Oct 15, 2021
8654b62
CI: hard coded works: failing on undefined query (unseeded to be expe…
qfunq Oct 15, 2021
896b9d3
CI: more any bugs?!
qfunq Oct 15, 2021
71899d3
CI: harnening anys from gql rx
qfunq Oct 15, 2021
f462fbc
CI: hardening anys from gql rx
qfunq Oct 15, 2021
0b21b5f
CI: markup
qfunq Oct 15, 2021
d743b2b
CI: markup : 2
qfunq Oct 15, 2021
ab70ba1
Logging monad tested and working locally.
qfunq Oct 15, 2021
e41fcb3
More defensive programming.
qfunq Oct 15, 2021
5856f9b
More defensive programming 2.
qfunq Oct 15, 2021
e68c157
Defensive programming 3.
qfunq Oct 15, 2021
88fd57f
Defensive programming 4 ... missing quote!
qfunq Oct 15, 2021
d53ecbc
Changed timeouts to make build a bit snappier
qfunq Oct 15, 2021
1090424
Fixed readme formatting
qfunq Oct 15, 2021
3f165f2
Fixed readme formatting 2
qfunq Oct 15, 2021
a0aff77
Fixed readme formatting 4
qfunq Oct 15, 2021
6715d63
Testing release.
qfunq Oct 15, 2021
f761c67
CCC style guide
qfunq Oct 15, 2021
0b73d62
CCC style guide: 2
qfunq Oct 15, 2021
fd17dcf
RecursiveTypeAny
qfunq Oct 15, 2021
2ecf8f2
xfastcommit: only for documentation!
qfunq Oct 15, 2021
b2c6f0c
Solved RecursiveTypeAny instance
qfunq Oct 16, 2021
68aafaa
Refactor: Created utils folder. Hardened logging to take null
qfunq Oct 16, 2021
c22b9ad
Updated readme
qfunq Oct 16, 2021
7273875
Monadic log succinctness.
qfunq Oct 16, 2021
c2b0922
Monadic log succinctness:2, defense: 5
qfunq Oct 16, 2021
1adfb7d
Monadic log succinctness:3 fixed update closure
qfunq Oct 17, 2021
fd743e7
Category notes CMC suits ts better than CCC
qfunq Oct 17, 2021
caa4a8b
Readme: CMC
qfunq Oct 17, 2021
2866cf3
Input monad, messy WIP
qfunq Oct 17, 2021
e4d9e6b
Input monad, messy WIP : 2
qfunq Oct 17, 2021
fcf51da
Input monad, messy WIP : 3 versioning.
qfunq Oct 17, 2021
3d54c84
Testing release.
qfunq Oct 17, 2021
6b55161
Testing release: readme
qfunq Oct 17, 2021
1a343af
Testing release: removed deprecated code
qfunq Oct 17, 2021
11f492e
Logging uses error-stack-parser: Removed test code.
qfunq Oct 17, 2021
69cabac
Added xlog to comment logging monads.
qfunq Oct 17, 2021
bd78977
Added xlog to comment out logging monads.
qfunq Oct 17, 2021
92694e4
Added xlog to comment out logging monads : vers.
qfunq Oct 17, 2021
1d69834
Updated readme
qfunq Oct 17, 2021
417131f
Readme: removed link destroying styles
qfunq Oct 18, 2021
770b689
Readme: titles
qfunq Oct 18, 2021
e74b2c8
Readme: titles : 2
qfunq Oct 18, 2021
7b0e4d7
Readme: Prod status formatting
qfunq Oct 18, 2021
8faf84a
Readme: more tinkering
qfunq Oct 18, 2021
62523b8
Updated license
qfunq Oct 18, 2021
463a063
Auto generation of session secret
qfunq Oct 21, 2021
b5bf1ae
WIP: catch after await
qfunq Oct 21, 2021
4a3ee83
filtered user list in Admin UI
qfunq Oct 21, 2021
2f01eae
Logging abbrev. fix
qfunq Oct 21, 2021
deb8c91
Added readline-sync
qfunq Oct 22, 2021
3301641
GraphQLOutput type
qfunq Oct 22, 2021
b4baef6
Readme
qfunq Oct 22, 2021
702f95f
MaybeIOPromise for SSG/ISR
qfunq Oct 22, 2021
cea69f9
MaybeIOPromise for SSG/ISR: 2
qfunq Oct 22, 2021
a2df521
Coding best practises: 1
qfunq Oct 22, 2021
c3d228f
Coding best practises: 2
qfunq Oct 22, 2021
ffaf7db
Coding best practises: dummy var removal: lint friendly
qfunq Oct 22, 2021
bc69786
More style improvements
qfunq Oct 22, 2021
b617b78
Code inspector
qfunq Oct 22, 2021
fd78567
Code inspector: 2
qfunq Oct 22, 2021
0df247c
Removed var
qfunq Oct 22, 2021
678f2fc
xlog eslint no-unused-vars
qfunq Oct 22, 2021
87d2364
xlog eslint no-explicit-any used once, in wrap_any
qfunq Oct 22, 2021
957cf28
More ESlint added to CI
qfunq Oct 22, 2021
1114ba1
Typesafe monadic IO working with node-fetch
qfunq Oct 23, 2021
b18b011
Typesafe monads: gql/fetch. As dry as pos wout asts
qfunq Oct 23, 2021
7a7e6bf
es plugin react: no warnings
qfunq Oct 23, 2021
f240075
Tidy up YAML
qfunq Oct 23, 2021
c6396ce
Badges
qfunq Oct 23, 2021
bbb7643
Badges : 2
qfunq Oct 23, 2021
669f3ca
Badges : 3
qfunq Oct 23, 2021
60d8a4a
Badges : 4
qfunq Oct 23, 2021
e961ac9
Badges : 5
qfunq Oct 23, 2021
f78c9cc
Badges : 6
qfunq Oct 23, 2021
e4e6394
Badges : 7
qfunq Oct 23, 2021
602fa11
Badges
qfunq Oct 23, 2021
efa5729
Badges
qfunq Oct 23, 2021
8af4a15
Badges
qfunq Oct 23, 2021
3ca8b7d
Badges
qfunq Oct 23, 2021
5dfdb97
Badges
qfunq Oct 23, 2021
3de78a0
Badges
qfunq Oct 23, 2021
c8126ca
Badges
qfunq Oct 23, 2021
1889ca3
Badges
qfunq Oct 23, 2021
e326935
Badges
qfunq Oct 23, 2021
64a0273
Badges
qfunq Oct 23, 2021
5cb9f20
Badges
qfunq Oct 23, 2021
9f768a8
Badges
qfunq Oct 23, 2021
408bd47
Maps type functions to fix ESlint violations in logging.
qfunq Oct 23, 2021
46a35d2
Readme
qfunq Oct 23, 2021
361e211
Logging style
qfunq Oct 23, 2021
8802bc4
Logging code style +
qfunq Oct 23, 2021
0f4bf94
Typesafe add prop
qfunq Oct 23, 2021
6ef0bb6
yarn lint: failing: harsher than CI build
qfunq Oct 23, 2021
982cb99
yaml trailing space removal
qfunq Oct 23, 2021
cbba895
Non-CI harsher lint: 12 error, 4 warnings
qfunq Oct 23, 2021
63e548f
Readme
qfunq Oct 23, 2021
c1708a7
Readme
qfunq Oct 23, 2021
e6fa3bd
Removed lint disable lines
qfunq Oct 23, 2021
614fa84
react hook useQuery called unconditionally
qfunq Oct 23, 2021
00b44a4
CRLF => LF
qfunq Oct 23, 2021
6357b26
yml and trying to understand [{},clearVoteForPoll]
qfunq Oct 23, 2021
6b2ca31
Just real warnings left ...
qfunq Oct 23, 2021
b006e16
Resolved yml issue?
qfunq Oct 23, 2021
70e701d
Resolved yml? removed blank lines
qfunq Oct 23, 2021
21057b7
Quote image rendering. Note serifed font.
qfunq Oct 24, 2021
55ffaf3
Poll filtering simplified
qfunq Oct 24, 2021
159e11d
Passing harsher linting: now included in CI.
qfunq Oct 24, 2021
52d1359
Blank lines removed from yml.
qfunq Oct 24, 2021
8ab8e09
Code Inspector comments
qfunq Oct 24, 2021
3c11e46
Polls fully connected. lint before build
qfunq Oct 24, 2021
0eb375f
Yml trailing lines -
qfunq Oct 24, 2021
920eb6a
CI: harsher lint working
qfunq Oct 24, 2021
16d4431
isSignedIn: cookie logic fixed
qfunq Oct 24, 2021
cbd34d6
await elimination: sign in monad
qfunq Oct 24, 2021
dc291df
await/any elimination: github repos. 5 awaits remain
qfunq Oct 24, 2021
ee01fc7
Fetch issues: github-, 4 awaits remaining
qfunq Oct 24, 2021
f1b1b42
Await elimination complete. fetch next ...
qfunq Oct 24, 2021
798773f
github fetch working. Promise.all
qfunq Oct 24, 2021
6d2d19e
All working, bar over eager clearing of poll results
qfunq Oct 25, 2021
e7dcfc3
Polls using fully monadic IO
qfunq Oct 26, 2021
4dc61a0
broken poll button updates
qfunq Oct 26, 2021
39943aa
broken poll button updates
qfunq Oct 26, 2021
d12a42f
Correctly updating poll buttons
qfunq Oct 26, 2021
c0a2c0b
Tidying up folders
qfunq Oct 26, 2021
0b064a4
query reverted: local db got out of sync, caused issues
qfunq Oct 26, 2021
d41601c
Poll queries working: perm issues?
qfunq Oct 26, 2021
81f755d
security lowered to allow polls
qfunq Oct 27, 2021
f6b0b55
Hack to increase security by ... lowering it. Not best practise, it c…
qfunq Oct 27, 2021
de73a8a
Poll disables after vote to prevent the possibility of double voting,…
qfunq Oct 27, 2021
f648293
Intricate logic in polls is not quite correct. WIP. Last job!
qfunq Oct 27, 2021
027bc0e
Front end detection
qfunq Oct 27, 2021
49c14b7
Is front end detection in access:filter
qfunq Oct 27, 2021
67d2b5d
Polls working. 1-0:1 business logic in code
qfunq Oct 27, 2021
470502f
Response count working.
qfunq Oct 27, 2021
be19cf6
Response count working.
qfunq Oct 27, 2021
ced7808
Response count working : 2
qfunq Oct 27, 2021
3de8dc7
CI: build test
qfunq Oct 27, 2021
9042839
React fix: => to function
qfunq Oct 28, 2021
cdcf644
React fix: => to function : 2
qfunq Oct 28, 2021
d5261d4
Poll UI
qfunq Oct 28, 2021
2358307
Warning to info on unauth user
qfunq Oct 28, 2021
651b005
Readme
qfunq Oct 29, 2021
c7eb1b0
Testing: dockerfiles for nextjs and keystone
qfunq Oct 29, 2021
d7f85b3
Testing: dockerfiles for nextjs and keystone : 2: more copying
qfunq Oct 29, 2021
ef04789
Testing: dockerfiles for nextjs and keystone : 3: more copying
qfunq Oct 29, 2021
da2405a
Testing: open ssl for docker: more copying
qfunq Oct 29, 2021
4d4c041
Testing: open ssl for docker: 2
qfunq Oct 29, 2021
faaf678
Testing: open ssl for docker: 3
qfunq Oct 29, 2021
d9874db
Testing: open ssl for docker: 4
qfunq Oct 29, 2021
9e355b0
Testing: open ssl for docker: 5
qfunq Oct 29, 2021
381171c
Testing: open ssl for docker: 6
qfunq Oct 29, 2021
d6dc8c6
Testing: open ssl for docker: 7
qfunq Oct 29, 2021
98bb561
Testing: docker 8: uid for bullseye
qfunq Oct 29, 2021
bd7ed54
Dockerfile
qfunq Oct 29, 2021
a11d6e5
Dockerfile: next.config.js
qfunq Oct 29, 2021
703b097
Dockerfile: .keystone
qfunq Oct 29, 2021
56b8810
Dockerfile: removed .next
qfunq Oct 29, 2021
6a82eeb
Dockerfile: Copying keystone files
qfunq Oct 29, 2021
bc5f086
Docker: launch scripts in package.json
qfunq Oct 29, 2021
557dea0
Docker: dumb-init
qfunq Oct 29, 2021
715179a
Docker: dumb-init : 2
qfunq Oct 29, 2021
89c0292
Docker: dumb-init : 3
qfunq Oct 29, 2021
353eb43
Docker: removed broken alpine build code
qfunq Oct 29, 2021
27a7c69
Docker: dumb-init 2
qfunq Oct 29, 2021
eb1e4d7
Docker: dumb-init 3
qfunq Oct 29, 2021
9be2a85
Docker: nextjs chown
qfunq Oct 29, 2021
d232338
CI dockerfile warnings
qfunq Oct 29, 2021
ffdedb2
Docker: copy: corrected missing arg
qfunq Oct 29, 2021
6d5917a
Docker: copy: corrected missing gid
qfunq Oct 29, 2021
5d0bb64
Uids
qfunq Oct 29, 2021
961f66e
Uids : 2
qfunq Oct 29, 2021
05e9964
Yarn berry, dockerfile changes
qfunq Oct 30, 2021
2deb8cc
VScode LF/CR issues again
qfunq Oct 30, 2021
901603a
Removed deprecated --ignore-scripts
qfunq Oct 30, 2021
e9e6374
Removed deprecated --prefer-offline
qfunq Oct 30, 2021
a10c9ca
Changed dockerfiles to new yarn syntax
qfunq Oct 30, 2021
28afa5b
CI: frozen lockfile
qfunq Oct 30, 2021
73ed294
dockerfile yarn changes
qfunq Oct 30, 2021
284aea2
keystone dockerfile changes
qfunq Oct 30, 2021
5579468
Initial login filter rules
qfunq Oct 30, 2021
36cd6ac
Refactored login filter rules
qfunq Oct 30, 2021
680e94f
First login detection and messages
qfunq Oct 30, 2021
a802600
KEYSTONE_HOST wired in
qfunq Oct 30, 2021
f01ab34
Reverted to yarn 1.22
qfunq Oct 30, 2021
022dbbe
simple cms.dockerfile
qfunq Oct 31, 2021
d7777ba
simple cms.dockerfile : 2
qfunq Oct 31, 2021
a5aef85
simple cms.dockerfile : 3
qfunq Oct 31, 2021
c8ba431
explicit frozen lockfile
qfunq Oct 31, 2021
da81c6e
removed cms.dockerfile now main file working
qfunq Oct 31, 2021
f9fc699
Fetch timeouts
qfunq Oct 31, 2021
11d3469
Release 5303: site:launch 4
qfunq Apr 13, 2022
6a7bec8
Release 5310: site:launch 9
qfunq Apr 13, 2022
fac5ce6
Release 5311: site:launch 10
qfunq Apr 13, 2022
53bdd06
Release 5358: FOURCUBE news
qfunq Apr 14, 2022
4feb98a
Release 5407: site launch
qfunq Apr 17, 2022
1cd2d39
Release 5410: site:launch
qfunq Apr 17, 2022
9fe41bc
Release 5413: nextjs 12.1.5
qfunq Apr 17, 2022
5f205d8
Release 5415: nextjs 11.1.2 revert
qfunq Apr 17, 2022
eb81bf5
Release 5426: Keystone 6, ts-gql
qfunq Apr 19, 2022
9b9bc23
Release 5427: Keystone 6, ts-gql : 2
qfunq Apr 19, 2022
e6828c4
Release 5428: Keystone 6, ts-gql : 3
qfunq Apr 19, 2022
902c0c6
Release 5429: Keystone 6, ts-gql : 4
qfunq Apr 19, 2022
0f05948
Release 5430: Keystone 6, ts-gql : 5
qfunq Apr 19, 2022
dba5325
Release 5431: Keystone 6, ts-gql : 6
qfunq Apr 19, 2022
4f9edb0
Release 5432: Keystone 6, ts-gql : 7
qfunq Apr 19, 2022
bdfb116
Release 5437: Removing lint errors
qfunq Apr 19, 2022
ce85fb1
Release 5438: Removing lint errors : 2
qfunq Apr 19, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions .eslint.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
module.exports = {
env: {
browser: true,
node: true,
es2020: true,
},
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: 2020,
sourceType: "module",
ecmaFeatures: {
jsx: true,
},
},
plugins: ["@typescript-eslint", "react", "prettier"],
extends: [
"airbnb",
"airbnb/hooks",
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
"plugin:react/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"prettier",
"prettier/@typescript-eslint",
"prettier/react",
],
rules: {
"react/jsx-filename-extension": [1, { extensions: [".ts", ".tsx"] }],
"import/extensions": "off",
"react/prop-types": "off",
"jsx-a11y/anchor-is-valid": "off",
"react/jsx-props-no-spreading": ["error", { custom: "ignore" }],
"prettier/prettier": "error",
"react/no-unescaped-entities": "off",
"import/no-cycle": [0, { ignoreExternal: true }],
"prefer-const": "off",
// needed because of https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-use-before-define.md#how-to-use & https://stackoverflow.com/questions/63818415/react-was-used-before-it-was-defined
"no-use-before-define": "off",
"@typescript-eslint/no-use-before-define": [
"error",
{ functions: false, classes: false, variables: true },

],
@typescript-eslint/ban-types": [
"error",
{
"extendDefaults": true,
"types": {
"{}": false
}
}
]


},
settings: {
"import/resolver": {
"babel-module": {
extensions: [".js", ".jsx", ".ts", ".tsx"],
},
node: {
extensions: [".js", ".jsx", ".ts", ".tsx"],
paths: ["src"],
},
},
},
};
25 changes: 25 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

{ "extends": [
"next/core-web-vitals",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"eslint:recommended",
"next"
],
"plugins": ["@ts-gql"],
"parser": "@typescript-eslint/parser",
"rules": {
"@ts-gql/ts-gql": "error",
"@typescript-eslint/no-var-requires": 0,
"@typescript-eslint/ban-types": [
"error",
{
"extendDefaults": true,
"types": {
"{}": false
}
}
]
}
}
14 changes: 14 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Greetings
on: [pull_request, issues]
jobs:
greeting:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Hello @${{ github.actor }} , thank you for submitting an issue.'
pr-message: 'Hello @${{ github.actor }} , thank you submitting a pull request.'
64 changes: 64 additions & 0 deletions .github/workflows/latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [latest]
pull_request:
branches: [latest]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
prisma_day_2021:
runs-on: ubuntu-latest
container: node:14.18.1-bullseye
services:
pg:
image: postgres:latest
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
env:
POSTGRES_DB: prisma_day_2021_latest
POSTGRES_PASSWORD: change_me_in_multiple_places
POSTGRES_PORT: 5432
POSTGRES_USER: postgres_user
steps:
- name: Dump github context
run: echo "$GITHUB_CONTEXT"
shell: bash
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
- name: Checkout application
uses: actions/checkout@v2
- name: Run yarn
run: |
cd $GITHUB_WORKSPACE
ls -alt
yarn install --frozen-lockfile
env:
DATABASE_URL: "postgres://postgres_user:change_me_in_multiple_places@pg/prisma_day_2021_latest"
- name: Start keystone/Next
run: |
yarn dev &
env:
KEYSTONE_NEXTJS_BUILD_API_KEY: keystone_change_me2
DATABASE_URL: "postgres://postgres_user:change_me_in_multiple_places@pg/prisma_day_2021_latest"
- name: Start next build
run: |
echo "Sleeping to give time for Keystone to kick in. WIP: full micro service yml"
sleep 5
echo "Building unseeded production server: "
yarn site:build
echo "✅ Success: built unseeded production services"
sleep 25
env:
KEYSTONE_NEXTJS_BUILD_API_KEY: keystone_change_me2
DATABASE_URL: "postgres://postgres_user:change_me_in_multiple_places@pg/prisma_day_2021_latest"
29 changes: 20 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,26 +1,32 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/*
!.yarn/patches
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
.pnp.*

node_modules/


# testing
/coverage
coverage/

# next.js
/.next/
/out/
.next/
out/

# production
/build
build/

# misc
.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

Expand All @@ -35,4 +41,9 @@ yarn-error.log*

# keystone
.keystone
app.db
app.db
__generated__

migrations/migration_lock.toml

!.github/*
2 changes: 2 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ MIT License

Copyright (c) 2021 KeystoneJS

Modifications: Copyright (c) 2021 Fourcube Ltd

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
Expand Down
Loading