Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/protheeuz/saw-decision-support-systems
Decision Support System using Simple Additive Weighting (SAW) method - Yii2 Framework
https://github.com/protheeuz/saw-decision-support-systems
ahp ahp-saw saw yii2
Last synced: 14 days ago
JSON representation
Decision Support System using Simple Additive Weighting (SAW) method - Yii2 Framework
- Host: GitHub
- URL: https://github.com/protheeuz/saw-decision-support-systems
- Owner: protheeuz
- License: bsd-3-clause
- Created: 2024-06-15T22:15:03.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-22T21:14:17.000Z (3 months ago)
- Last Synced: 2024-10-11T21:42:03.815Z (about 1 month ago)
- Topics: ahp, ahp-saw, saw, yii2
- Language: JavaScript
- Homepage:
- Size: 2.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
Yii 2 Basic Project Template
Yii 2 Basic Project Template is a skeleton [Yii 2](https://www.yiiframework.com/) application best for
rapidly creating small projects.The template contains the basic features including user login/logout and a contact page.
It includes all commonly used configurations that would allow you to focus on adding new
features to your application.[![Latest Stable Version](https://img.shields.io/packagist/v/yiisoft/yii2-app-basic.svg)](https://packagist.org/packages/yiisoft/yii2-app-basic)
[![Total Downloads](https://img.shields.io/packagist/dt/yiisoft/yii2-app-basic.svg)](https://packagist.org/packages/yiisoft/yii2-app-basic)
[![build](https://github.com/yiisoft/yii2-app-basic/workflows/build/badge.svg)](https://github.com/yiisoft/yii2-app-basic/actions?query=workflow%3Abuild)DIRECTORY STRUCTURE
-------------------assets/ contains assets definition
commands/ contains console commands (controllers)
config/ contains application configurations
controllers/ contains Web controller classes
mail/ contains view files for e-mails
models/ contains model classes
runtime/ contains files generated during runtime
tests/ contains various tests for the basic application
vendor/ contains dependent 3rd-party packages
views/ contains view files for the Web application
web/ contains the entry script and Web resourcesREQUIREMENTS
------------The minimum requirement by this project template that your Web server supports PHP 7.4.
INSTALLATION
------------### Install via Composer
If you do not have [Composer](https://getcomposer.org/), you may install it by following the instructions
at [getcomposer.org](https://getcomposer.org/doc/00-intro.md#installation-nix).You can then install this project template using the following command:
~~~
composer create-project --prefer-dist yiisoft/yii2-app-basic basic
~~~Now you should be able to access the application through the following URL, assuming `basic` is the directory
directly under the Web root.~~~
http://localhost/basic/web/
~~~### Install from an Archive File
Extract the archive file downloaded from [yiiframework.com](https://www.yiiframework.com/download/) to
a directory named `basic` that is directly under the Web root.Set cookie validation key in `config/web.php` file to some random secret string:
```php
'request' => [
// !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
'cookieValidationKey' => '',
],
```You can then access the application through the following URL:
~~~
http://localhost/basic/web/
~~~### Install with Docker
Update your vendor packages
docker-compose run --rm php composer update --prefer-dist
Run the installation triggers (creating cookie validation code)docker-compose run --rm php composer install
Start the containerdocker-compose up -d
You can then access the application through the following URL:http://127.0.0.1:8000
**NOTES:**
- Yii won't create the database for you, this has to be done manually before you can access it.
- Check and edit the other files in the config/ directory to customize your application as required.## For testing
test