Skip to content

Commit 88aa505

Browse files
committed
fix(config): with korojscommands
1 parent 6775e76 commit 88aa505

10 files changed

Lines changed: 3636 additions & 3883 deletions

File tree

.all-contributorsrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"projectName": "template-socketio",
3-
"projectOwner": "koromerzhin",
2+
"projectName": "socketio",
3+
"projectOwner": "hackariens",
44
"repoType": "github",
55
"repoHost": "https://github.com",
66
"files": [
@@ -10,7 +10,7 @@
1010
"commit": true,
1111
"contributorsPerLine": 7,
1212
"commitConvention": "gitmoji",
13-
"badgeTemplate": "[![All Contributors](https://img.shields.io/badge/all_contributors-<%= contributors.length %>-orange.svg?style=flat-square)](#-contributors)",
13+
"badgeTemplate": "[![All Contributors](https://img.shields.io/badge/all_contributors-<%= contributors.length %>-orange.svg?style=flat-square)]",
1414
"contributorTemplate": "<a href=\"<%= contributor.profile %>\"><img src=\"<%= contributor.avatar_url %>\" width=\"<%= options.imageSize %>px;\" alt=\"\"/><br /><sub><b><%= contributor.name %></b></sub></a>",
1515
"contributors": [
1616
{

.env.example

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
STACK=socketio
2+
FOLDERPHAR=apps
3+
FOLDERLAMPY=lampy
4+
DOCKERCOMPOSEFILES=docker-compose.yml docker-compose-lampy.yml

.github/workflows/ci.yml

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,28 +16,20 @@ jobs:
1616
uses: actions/checkout@v3
1717
with:
1818
submodules: recursive
19+
ref: 'v2.0'
1920
repository: koromerzhin/lampy
2021
path: lampy
21-
- name: Cache npm packages
22-
id: npm-cache
23-
uses: actions/cache@v2
24-
with:
25-
path: node_modules
26-
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
27-
restore-keys: |
28-
${{ runner.os }}-node
2922
- name: Install npm dependencies
30-
if: steps.npm-cache.outputs.cache-hit != 'true'
31-
run: make node_modules
23+
run: npm install
24+
- name: 'set .env'
25+
run: 'cp .env.example .env'
3226
- name: 'Launch Lampy'
33-
run: make lampy
27+
run: cd lampy && npm run exec
3428
- name: 'Image pull'
35-
run: make docker image-pull
29+
run: npm run docker:getpull-image
3630
- name: 'Build containers'
37-
run: make docker deploy
38-
- name: 'sleep'
39-
run: make sleep 60
40-
- name: 'docker ls'
41-
run: make docker ls
31+
run: npm run docker:deploy
32+
- name: 'Waiting'
33+
run: npm run docker:waiting
4234
- name: linter readme.md
43-
run: make linter readme
35+
run: npm run lint:markdown

Makefile

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

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
# Welcome to @koromerzhin/template-socketio 👋
1+
# Welcome to @hackariens/socketio 👋
22

33
![Version](https://img.shields.io/badge/version-1.0.0-blue.svg?cacheSeconds=2592000)
44
![Documentation](https://img.shields.io/badge/documentation-yes-brightgreen.svg)
5-
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/koromerzhin/template-socketio/graphs/commit-activity)
6-
![Continuous Integration](https://github.com/koromerzhin/template-socketio/workflows/Continuous%20Integration/badge.svg?branch=develop)
5+
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/hackariens/socketio/graphs/commit-activity)
6+
![Continuous Integration](https://github.com/hackariens/socketio/workflows/Continuous%20Integration/badge.svg?branch=develop)
77

88
> Nouveau projet sous socket.io
99
10-
## 🏠 [Homepage](https://github.com/koromerzhin/template-socketio#readme)
10+
## 🏠 [Homepage](https://github.com/hackariens/socketio#readme)
1111

1212
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
13-
[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)](#-contributors)
13+
[![All Contributors](https://img.shields.io/badge/all_contributors-1-orange.svg?style=flat-square)]
1414
<!-- ALL-CONTRIBUTORS-BADGE:END -->
1515

1616
## Need
@@ -33,7 +33,7 @@ Hosts:
3333
## Download
3434

3535
```sh
36-
git clone git@github.com:koromerzhin/template-socketio.git template-socketio
36+
git clone git@github.com:hackariens/socketio.git template-socketio
3737
cd template-socketio
3838
git submodule update --init
3939
```
@@ -69,9 +69,9 @@ make help
6969

7070
Contributions, issues and feature requests are welcome!
7171
Feel free to check
72-
[issues page](https://github.com/koromerzhin/template-socketio/issues).
72+
[issues page](https://github.com/hackariens/socketio/issues).
7373
You can also take a look at the
74-
[contributing guide](https://github.com/koromerzhin/template-socketio/blob/develop/CONTRIBUTING.md).
74+
[contributing guide](https://github.com/hackariens/socketio/blob/develop/CONTRIBUTING.md).
7575

7676
## Show your support
7777

@@ -82,7 +82,7 @@ Give a ⭐️ if this project helped you!
8282
Copyright © 2019 [koromerzhin](https://github.com/koromerzhin).
8383

8484
This project is
85-
[MIT](https://github.com/koromerzhin/template-socketio/blob/develop/LICENSE) licensed.
85+
[MIT](https://github.com/hackariens/socketio/blob/develop/LICENSE) licensed.
8686

8787
## ✨ Contributors
8888

docker-compose-lampy.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
version: "3.4"
3+
networks:
4+
proxylampy:
5+
external: true
6+
services:
7+
www:
8+
networks:
9+
- proxylampy
10+
- net
11+
deploy:
12+
labels:
13+
- "traefik.enable=true"
14+
- "traefik.http.routers.socketio.rule=Host(`socketio.traefik.me`)"
15+
- "traefik.http.routers.socketio-tls.tls.domains[0].main=socketio.traefik.me"
16+
- "traefik.http.routers.socketio.tls=true"
17+
- "traefik.http.services.socketio.loadbalancer.server.port=80"

docker-compose.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11

22
version: "3.4"
33
networks:
4-
proxylampy:
5-
external: true
64
net:
75
driver: overlay
86
attachable: true
@@ -15,12 +13,4 @@ services:
1513
volumes:
1614
- ${PWD}/app:/app
1715
networks:
18-
- proxylampy
19-
- net
20-
deploy:
21-
labels:
22-
- "traefik.enable=true"
23-
- "traefik.http.routers.socketio.rule=Host(`socketio.traefik.me`)"
24-
- "traefik.http.routers.socketio-tls.tls.domains[0].main=socketio.traefik.me"
25-
- "traefik.http.routers.socketio.tls=true"
26-
- "traefik.http.services.socketio.loadbalancer.server.port=80"
16+
- net

make

Submodule make deleted from 29bb2e2

0 commit comments

Comments
 (0)