Skip to content

Yoshi Kan, judoschool voor jong en oud. Website + online leden beheer.

License

Notifications You must be signed in to change notification settings

koencaerels/yoshikan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yoshi-Kan Website + Ledenbeheer


GitHub license


Requirements

  • A webserver (Apache, NGINX, ...) with PHP 8.2 or higher.
  • Symfony: PHP 8.2 or higher and these PHP extensions (which are installed and enabled by default in most PHP 8 installations): Ctype, iconv, PCRE, Session, SimpleXML, and Tokenizer.
  • Composer, which is used to install PHP packages.
  • A database server (MySQL, PostgreSQL, SQLite, ... ) that is compatible with Doctrine.
  • Node.js,Yarn & NPM for the frontends build process.

Third party services

You can configure these services in the .env file.

Getting Started

1. Make a valid .env file

Copy the .env.example file to the .env file.
The example file is made for direct use with the docker configuration, so no modifications needed.

2. Start project with docker

docker-compose up -d

The docker scripts include automatic download and installation for following parts of the project:

  • composer install for the php libraries (vendor folder)
  • webpack: symfony webpack encore installation & production build*
  • vue 3: member_module installation & production build
    • (disabled for now due to some permission problem when running it in dev mode)
  • vuePress: installation & production build (docs)

These are available services:

3. Create & setup the database

If you are using docker, make sure you're in the php container terminal. This can be done with following command.

docker-compose exec php bash

With following commands you can create an empty database with the table structure setup.

php bin/console doctrine:database:create
php bin/console doctrine:schema:update --force

Further reference

You can consult documentation site for extended information
http://localhost:8081