Skip to content

contributte/componette-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

92039df · Sep 20, 2024
Apr 23, 2021
Mar 5, 2023
Sep 20, 2024
Sep 20, 2024
Oct 21, 2020
Jul 4, 2017
Oct 21, 2020
Jul 4, 2017
Dec 12, 2020
Sep 20, 2024
Apr 23, 2021
Oct 20, 2021
Jun 23, 2018
Oct 1, 2022
Jul 7, 2020
Jul 22, 2021
Apr 23, 2021
Sep 20, 2024
Oct 1, 2022
Sep 20, 2024
Sep 20, 2024
Jun 18, 2021
Jun 18, 2021
Sep 20, 2024
Sep 20, 2024
Sep 20, 2024
Sep 13, 2022
Jul 7, 2020
Jul 7, 2020
Apr 24, 2021
Oct 1, 2022
Jul 22, 2021

Repository files navigation

Componette

Addons, extensions & components portal for Nette Framework with smooth searching and categorization.

Website 🚀 componette.org | Contact 👨🏻‍💻 f3l1x.io | Twitter 🐦 @xf3l1x


Requirements

  • PHP 8.1+
  • NodeJS 18+
  • Caddy 0.11+
  • MariaDB 10.3+
  • Docker [optionally]

How to develop

Backend

  • Clone this repo (git@github.com:contributte/componette-site.git).
  • Rename app/config/config.local.sample to config.local.neon and fill parameters (database, github token, etc).
  • Run composer install.
  • Run migration via bin/console migrations:continue follow steps.
  • Start webserver NETTE_DEBUG=1 php -S 0.0.0.0:8000 -t www

Frontend

  • Run npm install
  • Run gulp deploy (it compiles once all JS/CSS files)

For developing you can use gulp watch, it's monitor every CSS and JS files in <project>/www/assets.

How to contribute

I very appreciate you contributing work, these tools keep on eye and help me to keep a high code standard.

Automated tasks

This project has a few tasks you should fired before you prepare PR.

  • Quality Assurance - checks PHP syntax errors and codestyle
make qa
  • Nette\Tester - runs unit & integration tests
make tests
  • PHPstan - runs static analyse
make phpstan