Skip to content

Citadaskola-2023/fe-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project

You can use this template by running the following command:

docker run --rm -it \
  --volume $PWD:/app \
  --user $(id -u):$(id -g) \
  composer create-project citadaskola-2023/project-template <project_name>

How to get it started?

  1. Dependencies already are installed with composer create-project
  2. Start Project container (using dunglas/frankenphp PHP image)
    docker run -v $PWD:/app \
        -p 80:80 -p 443:443 \
        dunglas/frankenphp
  3. Build JS bundles (at the moment yarn has to be installed on host)
    cd js; yarn; yarn run build
  4. Go to https://localhost, and enjoy!

Future expansions

  1. In order to use MySQL, libraries more has to be added - ref
  2. Bundles are baked into the image

Licence

Unlicense