Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 🏋️.

Awesome Lists containing this project

README

        

Cette application gère une salle de sport

## Intégration de docker

# Prérequis :
docker

On 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)