Root project for Asset Packagist
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs/readme
src/config
tests
web
.env.example
.gitignore
.php_cs
.scrutinizer.yml
.travis.yml
LICENSE
README.md
composer.json
hidev.yml
phpunit.xml.dist

README.md

asset-packagist.dev

Latest Stable Version Total Downloads Build Status Scrutinizer Code Coverage Scrutinizer Code Quality Dependency Status

Installation

Create the DB in MySQL:

CREATE DATABASE asset_packagist;
CREATE USER 'asset-packagist'@'localhost' IDENTIFIED BY 'GOOD_PASSWORD';
GRANT ALL PRIVILEGES ON asset_packagist.* TO 'asset-packagist'@'localhost';
FLUSH PRIVILEGES;

Create the project with composer:

composer create-project --stability=dev "hiqdev/asset-packagist.dev:*" dir

Make configuration tuning:

Copy .env.example to .env and adjust it:

cp .env.example
edit .env

Be sure to set COOKIEVALIDATIONKEY and DB_PASSWORD:

COOKIEVALIDATIONKEY=GOOD_RANDOM_STRING_HERE
DB_PASSWORD=YOUR_DB__PASSWORD

Deploy the project

./vendor/bin/hidev deploy

Configure your web-server. (hidev can install nginx config for you, run ./vendor/bin/hidev nginx/deploy).

Try to fetch your first package from web-interface or using the following command:

./vendor/bin/hidev asset-package/update bower jquery

Working with queues

Some operations such as package update will push tasks to queue. Run queue to execute that tasks:

./vendor/bin/hidev queue/run

It is recommended to run all console commands from the same user you are running the web application to prevent permissions problems in web/p directory.

Known bugs:

Just skip yellow warnings Couldn't read ... - they are unimportant.

License

This project is released under the terms of the BSD-3-Clause license. Read more here.

Copyright © 2016-2018, HiQDev (http://hiqdev.com/)