No description
- JavaScript 83.7%
- CSS 11.9%
- HTML 2.6%
- PHP 1.5%
- Blade 0.3%
| app | ||
| bootstrap | ||
| config | ||
| database | ||
| public | ||
| resources | ||
| routes | ||
| storage | ||
| tests | ||
| .editorconfig | ||
| .env.example | ||
| .gitattributes | ||
| .gitignore | ||
| .styleci.yml | ||
| artisan | ||
| composer.json | ||
| composer.lock | ||
| install.sh | ||
| LICENSE | ||
| package.json | ||
| phpunit.xml | ||
| README.md | ||
| server.php | ||
| webpack.mix.js | ||
| yarn.lock | ||
RGOU Portfolio/Resume in Laravel
A portfolio/resume built in Laravel. Free to use.
Built with
- PHP: The most popular web backend programming language.
- Javascript: The web frontend programming language.
- NodeJS:Incredible Javascript powered engine.
- Laravel: A powerfull PHP Framework
- Backpack for Laravel: An admin generator for Laravel
- AdminLTE - Bootstrap 4 Admin: Bootstrap Admin theme
- FontAwesome: Freemium iconset (only free icons used)
- Matomo: A web analytics tool.
- Schema Markup Generator: A Structured Data (JSON-LD) Schema Generator
- JSON-LD Schema Generator: Another Structured Data (JSON-LD) Schema Generator
- OpenStreetMap: Free maps
Install
Database
You need a database (MySQL/MariaDB or Postgres). Create a user credentials and a database.
For MySQL it could be:
CREATE DATABASE `portfolio_resume` COLLATE 'utf8_unicode_ci';
CREATE USER 'portfolio_resume'@'%' IDENTIFIED BY 'YOUR-STRONG-PASSWORD';
GRANT ALL PRIVILEGES ON portfolio_resume.* TO 'portfolio_resume'@'%';
FLUSH PRIVILEGES;
Code
git clone https://git.rgou.net/rafaelgou/rgou-pr-laravel.git
cp .env.example .env
Edit .env with your settings. Must set at least (you can leave default settings for the rest):
# Set to production when deploying
APP_ENV=local
# A long random string to improve security
APP_KEY=
Disable debug on production
APP_DEBUG=false
# Your url
APP_URL=http://localhost:8000
# The email you want to receive contact messages
APP_CONTACT_ADDRESS=
# The subject of the contact message
APP_CONTACT_SUBJECT=Contact from your Portfolio/Resumè
# If you want to display your email:
APP_DISPLAY_EMAIL=true
# If you want to display your phone:
APP_DISPLAY_PHONE=false
# Witch analytics to use - can be none, matoto, google
# Set the following variables accordingly
APP_ANALYTICS_TYPE=none
APP_ANALYTICS_MATOMO_URL=
APP_ANALYTICS_MATOMO_SITE_ID=
APP_ANALYTICS_GOOGLE_TRACKING_ID=
# Database settings
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=portfolio_resume
DB_USERNAME=portfolio_resume
DB_PASSWORD=YOUR-STRONG-PASSWORD
# Mail settings
MAIL_DRIVER=smtp
MAIL_HOST=smtp.mailtrap.io
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=null
MAIL_FROM_NAME="${APP_NAME}"
Let's install the dependencies, populate the database and set the public images folder.
composer install
php artisan migrate
php artisan db:seed
php artisan storage:link
Now let's create your user (it asks for a password):
php artisan backpack:user -N "Your Name" -E "your-email@example.com"
Running
To run locally:
php artisan serve
And you can browse http://localhost:8000 for the homepage and http://localhost:8000/admin for the admin. Use the email/password created before.
To run in production, please follow Laravel instructions.
Using
The admin is pretty simple. Some tips:
- Settings allow you to update email and other settings.
- Skills and Portfolio allows ordering using the Reorder ... button on each listing.
- Education, Experience and Certifications are ordered by newest first.