Nessuna descrizione
Gabriel Santiago Plaza caa455fbc0 Merge branch 'Merge_gabriel_mayo' of https://git.ccom.uprrp.edu/CDCC/OLAS into Merge_gabriel_mayo 2 anni fa
app Merge branch 'Merge_gabriel_mayo' of https://git.ccom.uprrp.edu/CDCC/OLAS into Merge_gabriel_mayo 2 anni fa
bootstrap Bugs, reporte de cursos de programas, y drafts de reportes de programas. 3 anni fa
public Gabriel, trabajo hasta 11/17 4 anni fa
.bowerrc Added Laravel project and removed sensitive data 4 anni fa
.env.php.sample Added sample .env file 4 anni fa
.gitattributes First commit 4 anni fa
.gitignore Bugs, reporte de cursos de programas, y drafts de reportes de programas. 3 anni fa
CONTRIBUTING.md Added Laravel project and removed sensitive data 4 anni fa
Documentacion.docx Create Documentacion.docx 3 anni fa
Gruntfile.js Added Laravel project and removed sensitive data 4 anni fa
artisan Added Laravel project and removed sensitive data 4 anni fa
bower.json Added Laravel project and removed sensitive data 4 anni fa
composer.json CReo que esta es la que hay 3 anni fa
drop_tables.sql Quitando backupprovider 3 anni fa
laravel.md Added readme 4 anni fa
package.json Added Laravel project and removed sensitive data 4 anni fa
phpunit.xml Added Laravel project and removed sensitive data 4 anni fa
readme.md Added readme 4 anni fa
script.php SubiendoInfo 3 anni fa
script_template_fix.php SubiendoInfo 3 anni fa
script_template_scales.php SubiendoInfo 3 anni fa
script_template_scales_to_scales.php SubiendoInfo 3 anni fa
seed.sql Quitando backupprovider 3 anni fa
server.php Added Laravel project and removed sensitive data 4 anni fa
tabla_estudiantes.jpg Utlimo push con el boton de save diagnostic y tablas terminadas 2 anni fa
trabajoRealizado. primer semestre 2020-2021.pdf Los cambios mas recientes unidos con oniel 3 anni fa

readme.md

OLAS

Laravel 4.2 Docs

Laravel 4.2 API

Learn Laravel

Setup

Server requirements:

  • PHP 7.1 with Composer
  • MCrypt PHP Extension

Run composer install in the project’s root directory.

Run the application with php artisan serve or see the next section to run in an Apache server.

Apache

Create a virtualhost with the following settings:

DocumentRoot $PATH_TO_PROJECT_ROOT/public
<Directory $PATH_TO_PROJECT_ROOT/public>
    AllowOverride All
    Require all granted
</Directory>

Configuration

Copy .env.php.sample to .env.php and replace with correct settings.

Other options can be set in app/config.

Environments

The environment determines which configuration files will be used. Configuration options for each environment can be set in app/config/$ENV. Options within files in this directory overwrite those in app/config with the same file name.

By default the application will use the local environment unless it’s running with a .edu domain. This can be changed in bootstrap/start.php and more environments can be added here.

Routes

Routes tell the application to which controller the request will be sent or which view will be displayed.

All routes must be registered in app/routes.php.

Migrations

Migrations are used to create the database and make any changes to the schema.

Migrations are found in app/database/migrations and can be generated with php artisan generate:migration $MIGRATION_NAME.

Each migration has an up function that performs the migration and a down function that reverses it.

Views

Views are the HTML structure for each page or section of a page. They use the blade templating engine.

Views are found in app/views.

Controllers

Controllers handle requests and can return a View, Model, or some other data. They are found in app/controllers and usually correspond to a specific Model.

Controllers are in charge of preparing any data that might be necessary for a View, or it might create or update new entries for a Model.

Data can be sent to a View in an array of variables.