indomian / news-block
News aggregation application
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=5.4.0
- curl/curl: 1.2.1
- npm-asset/bootstrap-tagsinput: >=0.4.2
- npm-asset/font-awesome: >=4.3.0
- npm-asset/typeahead.js: >=0.10.5
- yiisoft/yii2: *
- yiisoft/yii2-bootstrap: *
- yiisoft/yii2-swiftmailer: *
Requires (Dev)
This package is not auto-updated.
Last update: 2025-05-10 20:58:00 UTC
README
NewsBlock application provides news aggregation display on page as a list, and specially provide API access for receiving news in light way.
Based on Yii 2 Basic Application Template
Installation guide
On server you required to have:
- Web server Apache2 (for .htaccess) or other that could be configured with path rewrite
- php5.5
- postgresql
- Database and database user
- yyi2 requirements: GD or ImageMagic, mcrypt
Get composer:
curl -s http://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
Install composer plugin for npm assets:
composer global require "fxp/composer-asset-plugin:1.0.0"
Install project using composer:
composer create-project -s dev --prefer-dist indomian/news-block somepath
Configure DB connection in file /config/db.php
Run DB migration:
./yii migrate
If everything ok your application should be available to connect and work with.