Skip to content

Commit 92a01ca

Browse files
authored
Merge pull request #142 from hackariens/develop
2 parents 008f451 + e6d6add commit 92a01ca

20 files changed

+41405
-0
lines changed

.all-contributorsrc

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"projectName": "symfony",
3+
"projectOwner": "hackariens",
4+
"repoType": "github",
5+
"repoHost": "https://github.com",
6+
"files": [
7+
"README.md"
8+
],
9+
"imageSize": 100,
10+
"commit": true,
11+
"contributorsPerLine": 7,
12+
"commitConvention": "gitmoji",
13+
"badgeTemplate": "![All Contributors](https://img.shields.io/badge/all_contributors-<%= contributors.length %>-orange.svg?style=flat-square)",
14+
"contributorTemplate": "<a href=\"<%= contributor.profile %>\"><img src=\"<%= contributor.avatar_url %>\" width=\"<%= options.imageSize %>px;\" alt=\"\"/><br /><sub><b><%= contributor.name %></b></sub></a>",
15+
"contributors": [
16+
{
17+
"login": "koromerzhin",
18+
"name": "Le TOULLEC Martial",
19+
"avatar_url": "https://avatars0.githubusercontent.com/u/308012?v=4",
20+
"profile": "https://github.com/koromerzhin",
21+
"contributions": [
22+
"code"
23+
]
24+
},
25+
{
26+
"login": "renovate-bot",
27+
"name": "Mend Renovate",
28+
"avatar_url": "https://avatars.githubusercontent.com/u/25180681?v=4",
29+
"profile": "https://www.mend.io/free-developer-tools/renovate/",
30+
"contributions": [
31+
"bug",
32+
"code",
33+
"maintenance"
34+
]
35+
},
36+
{
37+
"login": "restyled-commits",
38+
"name": "Restyled Commits",
39+
"avatar_url": "https://avatars.githubusercontent.com/u/65077583?v=4",
40+
"profile": "https://restyled.io/",
41+
"contributions": [
42+
"bug",
43+
"code",
44+
"maintenance"
45+
]
46+
},
47+
{
48+
"login": "dependabot[bot]",
49+
"name": "dependabot[bot]",
50+
"avatar_url": "https://avatars.githubusercontent.com/in/29110?v=4",
51+
"profile": "https://github.com/apps/dependabot",
52+
"contributions": [
53+
"bug",
54+
"code",
55+
"maintenance"
56+
]
57+
}
58+
]
59+
}

.env.example

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
STACK=symfony
2+
FOLDERPHAR=apps
3+
FILESQL=database_init/01_symfony.sql
4+
FOLDERLAMPY=lampy
5+
DOCKERCOMPOSEFILES=docker-compose.yml docker-compose-lampy.yml

.github/workflows/ci.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: ci
2+
on: [push]
3+
jobs:
4+
tests:
5+
runs-on: ${{ matrix.operating-system }}
6+
strategy:
7+
fail-fast: false
8+
matrix:
9+
operating-system: [ubuntu-20.04]
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v3
13+
with:
14+
submodules: recursive
15+
- name: Repository lampy
16+
uses: actions/checkout@v3
17+
with:
18+
submodules: recursive
19+
ref: 'v2.0'
20+
repository: koromerzhin/lampy
21+
path: lampy
22+
- name: Install npm dependencies
23+
run: npm install
24+
- name: 'set .env'
25+
run: 'cp .env.example .env'
26+
- name: 'SET BDD'
27+
run: npm run bdd:mariadb
28+
- name: 'Launch Lampy'
29+
run: cd lampy && npm run exec
30+
- name: 'Image pull'
31+
run: npm run docker:getpull-image
32+
- name: 'Build containers'
33+
run: npm run docker:deploy
34+
- name: 'Waiting'
35+
run: npm run docker:waiting
36+
- name: linter readme.md
37+
run: npm run lint:markdown

.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
node_modules
2+
3+
apps/*.phar
4+
## to delete >>
5+
apps/bin/
6+
/apps/.env
7+
apps/config
8+
apps/src/
9+
apps/public/
10+
apps/composer.lock
11+
apps/symfony.lock
12+
## << to delete
13+
.env

README.md

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
# Welcome to @hackariens/symfony 👋
2+
3+
![Version](https://img.shields.io/badge/version-1.0.0-blue.svg?cacheSeconds=2592000)
4+
![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/hackariens/symfony/graphs/commit-activity)
6+
![Continuous Integration](https://github.com/hackariens/symfony/workflows/ci/badge.svg?branch=develop)
7+
8+
> Template de site internet sous Symfony
9+
10+
## 🏠 [Homepage](https://github.com/hackariens/symfony#readme)
11+
12+
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
13+
![All Contributors](https://img.shields.io/badge/all_contributors-4-orange.svg?style=flat-square)
14+
<!-- ALL-CONTRIBUTORS-BADGE:END -->
15+
16+
## Need
17+
18+
Software:
19+
20+
- npm
21+
- docker
22+
- repository koromerzhin/lampy
23+
24+
Config:
25+
26+
docker swarm
27+
28+
Hosts:
29+
30+
- symfony.traefik.me
31+
32+
## Download
33+
34+
```sh
35+
git clone --recurse-submodules git@github.com:hackariens/symfony.git symfony
36+
cd symfony
37+
```
38+
39+
## Environnment
40+
41+
Edit .env with .env.example
42+
43+
## Install
44+
45+
```sh
46+
npm install
47+
```
48+
49+
## Launch
50+
51+
``` sh
52+
npm run exec
53+
```
54+
55+
## Author
56+
57+
👤 **Koromerzhin**
58+
59+
- Website: [https://www.letoullec.fr](https://www.letoullec.fr)
60+
- Twitter: [@koromerzhin](https://twitter.com/koromerzhin)
61+
- Github: [@koromerzhin](https://github.com/koromerzhin)
62+
- LinkedIn: [@koromerzhin](https://linkedin.com/in/koromerzhin)
63+
64+
## 🤝 Contributing
65+
66+
Contributions, issues and feature requests are welcome!
67+
Feel free to check
68+
[issues page](https://github.com/hackariens/symfony/issues).
69+
You can also take a look at the
70+
[contributing guide](https://github.com/hackariens/symfony/blob/develop/CONTRIBUTING.md).
71+
72+
## Show your support
73+
74+
Give a ⭐️ if this project helped you!
75+
76+
## 📝 License
77+
78+
Copyright © 2020 [Koromerzhin](https://github.com/koromerzhin).
79+
80+
This project is
81+
[MIT](https://github.com/hackariens/symfony/blob/develop/LICENSE) licensed.
82+
83+
## ✨ Contributors
84+
85+
Thanks goes to these wonderful people
86+
([emoji key](https://allcontributors.org/docs/en/emoji-key)):
87+
88+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
89+
<!-- prettier-ignore-start -->
90+
<!-- markdownlint-disable -->
91+
<table>
92+
<tbody>
93+
<tr>
94+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/koromerzhin"><img src="https://avatars0.githubusercontent.com/u/308012?v=4" width="100px;" alt=""/><br /><sub><b>Le TOULLEC Martial</b></sub></a></td>
95+
<td align="center" valign="top" width="14.28%"><a href="https://www.mend.io/free-developer-tools/renovate/"><img src="https://avatars.githubusercontent.com/u/25180681?v=4" width="100px;" alt=""/><br /><sub><b>Mend Renovate</b></sub></a></td>
96+
<td align="center" valign="top" width="14.28%"><a href="https://restyled.io/"><img src="https://avatars.githubusercontent.com/u/65077583?v=4" width="100px;" alt=""/><br /><sub><b>Restyled Commits</b></sub></a></td>
97+
<td align="center" valign="top" width="14.28%"><a href="https://github.com/apps/dependabot"><img src="https://avatars.githubusercontent.com/in/29110?v=4" width="100px;" alt=""/><br /><sub><b>dependabot[bot]</b></sub></a></td>
98+
</tr>
99+
</tbody>
100+
</table>
101+
102+
<!-- markdownlint-restore -->
103+
<!-- prettier-ignore-end -->
104+
105+
<!-- ALL-CONTRIBUTORS-LIST:END -->
106+
107+
This project follows the
108+
[all-contributors](https://github.com/all-contributors/all-contributors)
109+
specification. Contributions of any kind welcome!
110+
111+
---
112+
113+
_This README was generated with ❤️ by
114+
[readme-md-generator](https://github.com/kefranabg/readme-md-generator)_

apps/.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
###> symfony/framework-bundle ###
3+
/.env.local
4+
/.env.local.php
5+
/.env.*.local
6+
/config/secrets/prod/prod.decrypt.private.php
7+
/public/bundles/
8+
/var/
9+
/vendor/
10+
###< symfony/framework-bundle ###

apps/composer.json

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
"name": "symfony/skeleton",
3+
"type": "project",
4+
"license": "MIT",
5+
"description": "A minimal Symfony project recommended to create bare bones applications",
6+
"minimum-stability": "stable",
7+
"prefer-stable": true,
8+
"require": {
9+
"php": ">=7.2.5",
10+
"ext-ctype": "*",
11+
"ext-iconv": "*",
12+
"symfony/console": "5.4.*",
13+
"symfony/dotenv": "5.4.*",
14+
"symfony/flex": "^1.17|^2",
15+
"symfony/framework-bundle": "5.4.*",
16+
"symfony/runtime": "5.4.*",
17+
"symfony/yaml": "5.4.*"
18+
},
19+
"require-dev": {},
20+
"config": {
21+
"allow-plugins": {
22+
"composer/package-versions-deprecated": true,
23+
"symfony/flex": true,
24+
"symfony/runtime": true
25+
},
26+
"optimize-autoloader": true,
27+
"preferred-install": {
28+
"*": "dist"
29+
},
30+
"sort-packages": true
31+
},
32+
"autoload": {
33+
"psr-4": {
34+
"App\\": "src/"
35+
}
36+
},
37+
"autoload-dev": {
38+
"psr-4": {
39+
"App\\Tests\\": "tests/"
40+
}
41+
},
42+
"replace": {
43+
"symfony/polyfill-ctype": "*",
44+
"symfony/polyfill-iconv": "*",
45+
"symfony/polyfill-php72": "*"
46+
},
47+
"scripts": {
48+
"auto-scripts": {
49+
"cache:clear": "symfony-cmd",
50+
"assets:install %PUBLIC_DIR%": "symfony-cmd"
51+
},
52+
"post-install-cmd": [
53+
"@auto-scripts"
54+
],
55+
"post-update-cmd": [
56+
"@auto-scripts"
57+
]
58+
},
59+
"conflict": {
60+
"symfony/symfony": "*"
61+
},
62+
"extra": {
63+
"symfony": {
64+
"allow-contrib": false,
65+
"require": "5.4.*"
66+
}
67+
}
68+
}

assets/app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
console.log('app');

assets/body.scss

Whitespace-only changes.

conf/docker-php-ram-limit.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
memory_limit = -1

0 commit comments

Comments
 (0)