Skip to content

Commit 934983c

Browse files
authored
Merge pull request #64 from 8iq/prepare-to-0.0.2
chore: cleanup and start from scratch
2 parents b7d70ee + fec5bea commit 934983c

File tree

257 files changed

+426
-17856
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

257 files changed

+426
-17856
lines changed

.dockerignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
**/dist
1212
**/out
1313
**/.idea
14+
**/.vscode
1415
**/.kmigrator
16+
**/.turbo
1517
**/docs
1618
**/.config
17-
**/.yarn
1819
**/.cache

.env.example

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,3 @@
11
#DATABASE_URL=mongodb://mongo:mongo@127.0.0.1/main?authSource=admin
2-
DATABASE_URL=postgresql://postgres:postgres@127.0.0.1/main
2+
#DATABASE_URL=postgresql://postgres:postgres@127.0.0.1/main
33
NODE_ENV=development
4-
DISABLE_LOGGING=true
5-
COOKIE_SECRET=random
6-
SERVER_URL=http://localhost:3000
7-
8-
# production docker deploy envs!
9-
DOCKER_FILE_INSTALL_COMMAND="python3 -m pip install 'psycopg2-binary>=2.8.5' && python3 -m pip install 'Django>=3.0.6'"
10-
DOCKER_FILE_BUILD_COMMAND=yarn workspace @app/demo build
11-
DOCKER_COMPOSE_APP_IMAGE_TAG=demo
12-
DOCKER_COMPOSE_START_APP_COMMAND=yarn workspace @app/demo start
13-
#DOCKER_COMPOSE_DATABASE_URL=mongodb://mongo:mongo@mongodb/main?authSource=admin
14-
DOCKER_COMPOSE_DATABASE_URL=postgresql://postgres:postgres@postgresdb/main
15-
DOCKER_COMPOSE_COOKIE_SECRET=random
16-
# change it -------------------^
17-
DOCKER_COMPOSE_SERVER_URL=https://demo.dok.8iq.dev
18-
# change it -------------------^

.eslintignore

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/workflows/ci.build.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: TEST BUILD
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
node-version: [16.x, 20.x]
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
- name: Use Node.js ${{ matrix.node-version }}
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
- name: install packages
25+
run: |
26+
corepack enable
27+
yarn set version stable
28+
yarn install
29+
- name: BUILD
30+
run: yarn build

.github/workflows/ci.docker.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: TEST DOCKER
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
- name: install packages
17+
run: docker-compose build
18+
19+
- name: Setup debug by SSH if failure ci session
20+
uses: lhotari/action-upterm@v1
21+
if: ${{ failure() }}
22+
with:
23+
wait-timeout-minutes: 5

.github/workflows/ci.linters.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: LINTERS
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
node-version: [20.x]
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
- name: Use Node.js ${{ matrix.node-version }}
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
- name: install packages
25+
run: |
26+
corepack enable
27+
yarn set version stable
28+
yarn install
29+
- run: yarn format --check
30+
- run: yarn lint

.github/workflows/nodejs.apps.demo.yml

Lines changed: 0 additions & 53 deletions
This file was deleted.

.github/workflows/nodejs.apps.front.yml

Lines changed: 0 additions & 32 deletions
This file was deleted.

.github/workflows/nodejs.codestyle.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/nodejs.demo.deploy.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)