-
I'm going to base this on the image from my example project that you can find stored in my github account.
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
docker
FreeBSD port of docker, take a look at PORTING-FREEBSD.md in freebsd-compat branch (by kvasdopil)
To avoid doing all the above staff, you can build your own docker image for your project and encapsulate those tasks on it. This way, your project would only require to have docker installed.
-
Install the Symfony-cli tool to start a local development server.
-
Download and install node using the nvm package manager.
-
Imagine you have your Symfony project ready and working and you want other technicians and developers to be able to install and use it easily so that they can give you some feedback and advice. Installing a Symfony project can involve many tasks such as:
-
# Install Composer RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer # Install Node.js using NVM ENV NODE_VERSION=20.0.0 ENV NVM_DIR=/root/.nvm RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash && \ . "$NVM_DIR/nvm.sh" && \ nvm install ${NODE_VERSION} && \ nvm alias default v${NODE_VERSION} && \ ln -s "$NVM_DIR/versions/node/v${NODE_VERSION}/bin/node" /usr/local/bin/node && \ ln -s "$NVM_DIR/versions/node/v${NODE_VERSION}/bin/npm" /usr/local/bin/npm # Verify Node.js and npm installation RUN node --version && npm --version