Git Product home page Git Product logo

github-template's Introduction

Web Application Basic

Unstable Version Build Status Build Status Build Status Code Quality Code Intelligence Status Maintainability


App Web Application Basic of Yii Version 2.0. Yii Framework application best for rapidly creating projects with Bootstrap 4.

DIRECTORY STRUCTURE:

config/             contains application configurations
docs/               contains documentation application basic
src/                contains source files
tests/              contains tests codeception for the web application
vendor/             contains dependent 3rd-party packages

FEATURES:

REQUIREMENTS:

  • The minimum requirement by this project template that your Web server supports:
    • PHP 7.2 or higher.

INSTALLATION:

If you do not have Composer, you may install it by following the instructions at getcomposer.org.

You can then install this project template using the following command:

composer create-project --prefer-dist --stability=dev terabytesoftw/app-template-basic myapp

Now you should be able to access the application through the following URL, assuming `public` is the directory directly under the Web root.

App Web Application Basic (terabytesoftw/app-basic) is installed automatically together with the Web Project Skeleton Application Basic (terabytesoftw/app-template-basic), both try the necessary packages to start your Web Application Basic in Yii 2.0.

Virtual Host:

http://localhost/

Server Yii:

Directory - [app-template-basic]

php -S 127.0.0.1:8080 -t public > /dev/null 2>&1&

CONFIGURATION:

NOTE:

All the configuration is customizable through parameters, there is no need to modify any configuration of Yii 2.0 Web Application Basic, if you need any extra configuration you can open an issue with pleasure we will add it.

Very important when changing any configuration run composer du, to apply it.

GENERATE MESSAGES TRANSLATION:

To generate the Yii 2.0 Web Application Basic translations, you can change the language settings in:

config/messages.php - [app-template-basic]:

'languages' => ['en'], 

Automatically the generator will create the folder of your language in /messages - [app-template-basic], If any translation is needed, you can open an issue to add it.

root directory - [app-template-basic]:
./vendor/bin/yii message config/messages.php

RUN TESTS CODECEPTION:

// download all composer dependencies root project
$ composer update --prefer-dist -vvv

// download & run crhomedriver version chrome desktop
$ wget -P vendor/bin https://chromedriver.storage.googleapis.com/75.0.3770.90/chromedriver_linux64.zip
$ unzip -o -q vendor/bin/chromedriver_linux64.zip
$ vendor/bin/chromedriver --port=9515 --url-base=wd/hub/ > /dev/null 2>&1&

// run web server cli php
$ php -S 127.0.0.1:8080 -t tests/public > /dev/null 2>&1&

// run all tests with code coverage
$ vendor/bin/codecept run --coverage-xml

WEB SERVER SUPPORT:

  • Apache.
  • Nginx.
  • OpenLiteSpeed.

DOCUMENTATION STYLE GUIDE:

Style CI Documentation PSR2.

LICENCE:

License YiiFramework Total Downloads Total Downloads

github-template's People

Contributors

terabytesoftw avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.