Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kuro-jojo/metanna-fitness
A web app is design for the management of a sport club 🏋️.
https://github.com/kuro-jojo/metanna-fitness
bootstrap css javascript symfony
Last synced: 2 days ago
JSON representation
A web app is design for the management of a sport club 🏋️.
- Host: GitHub
- URL: https://github.com/kuro-jojo/metanna-fitness
- Owner: kuro-jojo
- Created: 2021-04-08T20:28:27.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-15T22:50:17.000Z (about 2 years ago)
- Last Synced: 2024-11-10T17:31:55.567Z (2 months ago)
- Topics: bootstrap, css, javascript, symfony
- Language: CSS
- Homepage:
- Size: 12.9 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
Cette application gère une salle de sport
## Intégration de docker
# Prérequis :
dockerOn utilise un webmail avec l'image schickling/mailcatcher
docker compose up -d
## Template et Bootstrap
# Installation
composer require bootstrap@next
composer require encore -- Install webpack encore to manage js and css files# Version 1
Utilisation du template de startBootstrap : sd-admin-2
Disponible ici https://github.com/StartBootstrap/startbootstrap-sb-admin-2.git# Version 2
Utilisation du template adminLte :
Disponible ici https://github.com/ColorlibHQ/AdminLTE/releases# DĂ©marrer le projet
composer install -- to install all dependencies
docker compose up -d ou docker compose up -d
symfony console make:migration
symfony console doctrine:migrations:migrate -- to create the database schemes
symfony console doctrine:fixtures:load -- load fake data (optional)
npm install -- to install dependencies
npm run build -- to build the js and css scripts
symfony server:start -d
# DĂ©ploiement
heroku login
heroku create app_name
heroku config:set APP_ENV=prod -- change the environnement
heroku config:set APP_SECRET=$(php -r 'echo bin2hex(random_bytes(16));')
heroku addons:create heroku-postgresql:hobby-dev -- install postgresql addon
heroku buildpacks:add --index 1 heroku/nodejs
heroku config:set USE_NPM_INSTALL=true
#composer.json
"compile": [
"php bin/console doctrine:migrations:migrate"
]
#package.json
"heroku-postbuild": "encore production --progress"
"engines": {
"npm": "6.x"
}
Add a Profile file
release: php bin/console cache:clear && php bin/console cache:warmup
web: heroku-php-apache2 public/
# install apache pack to manage internal links# Images
## Accueil
![Accueil](https://i.postimg.cc/BZjYxVpC/accueil.png)
## Ajout d'un client
![Ajout client](https://i.postimg.cc/vZr5rWCh/reg.png)
## Administration du site
![Administration](https://i.postimg.cc/TwwmvB1N/settings.png)