Skip to content

drjele/monorepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monorepo

Dev

Steps

  • Install Docker to develop and run the code.
  • Generate git ssh keys.
git clone [email protected]:drjele/monorepo.git

rm -rf .git/hooks && ln -s ../dev/shared/git-hooks .git/hooks

cd dev/

# the next instructions allow to run git from inside containers
cp ~/.ssh/id_* shared/.ssh/
echo '#!/bin/bash' >> shared/.profile/.profile_local && \
echo 'git config --global user.name "<your-name>"' >> shared/.profile/.profile_local && \
echo 'git config --global user.email "<your-email>"' >> shared/.profile/.profile_local

cd docker/
docker compose build && docker compose up -d

# to access a container and start development
docker compose exec <container-name> sh

Utilities

  • The file .profile contains aliases for quick commands.
  • You can register your own aliases in the .profile_local file. This file is .gitignore.
  • To only start up one application, run docker compose commands and specify the compose file from dev/docker/.

About

Monorepo php skeleton

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published