nuwira / tunggorono
Base application based on Laravel 5 to ease our job.
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 7
Forks: 0
Open Issues: 0
Language:JavaScript
Type:project
Requires
- illuminate/html: ~5.0
- jenssegers/date: ~2.0
- laravel/framework: 5.0.*
- matriphe/format: ~1.2
- zizaco/entrust: dev-laravel-5
Requires (Dev)
- phpspec/phpspec: ~2.1
- phpunit/phpunit: ~4.0
This package is auto-updated.
Last update: 2020-02-10 22:05:14 UTC
README
Base application based on Laravel 5.1 (LTS) to ease our job.
Installation
Composer
Run this command from path/where/to/install
.
composer create-project nuwira/tunggorono path/where/to/install --prefer-dist --dev
Or you can clone this repository and then composer install
from the path.
Set Environment
Copy .env.example
file to .env
and then edit the .env
file, fill the database section.
APP_ENV=local APP_DEBUG=true APP_KEY=rKgGw2WsrWMAeO2fCJ7nUssERmp61uYW DB_HOST=localhost DB_DATABASE=homestead DB_USERNAME=homestead DB_PASSWORD=secret CACHE_DRIVER=file SESSION_DRIVER=file
Assets Management
For assets, please install NPM and Bower. From root directory, run this command.
Install NPM
Bower need NPM to run, so install the NPM requirements.
npm install
Using Bower
Install assets components using Bower:
bower install
It will install Bootstrap, jQuery, and Font-Awesome to bower_components
directory.
For configuration, check bower.json
file.
Using Elixir
To compiled these assets, we use Gulp. Run the compilation using this command.
gulp
The assets will be placed in public/css
for CSS, public/js
for JS, and public/fonts
for fonts. Elixir will generate public/build
that will be used for assets versioning.
For configuration, check gulp.js
file.
Database Migration
Do migration to build the base data structure.
php artisan migrate --seed
Login
Now you can login using this account.
Username: nuwira
Password: nuwira
License
The Laravel framework is open-sourced software licensed under the MIT license