Run in console
# Clone repository
git clone https://github.com/nette/web-addons.nette.org.git
cd addons.nette.org
# Install dependencies via Composer
composer install
# Create local config
cp ./app/config/config.local.template.neon ./app/config/config.local.neon
# Edit your local configuration (use your favorite editor)
nano ./app/config/config.local.neon
Set up database
- Open Adminer (or whatever tool you use)
- Create database
- Run migrations
php migrations/run.php structures test-data --reset
You can run tests via CLI ./tests/run-tests.sh tests/cases
.