No description
  • JavaScript 83.7%
  • CSS 11.9%
  • HTML 2.6%
  • PHP 1.5%
  • Blade 0.3%
Find a file
2020-02-17 21:30:44 -03:00
app Fix dependencies and tags in portfolios 2020-02-17 21:30:44 -03:00
bootstrap Initialize repository 2020-01-27 22:09:34 -03:00
config Many tweaks for final version 2020-02-09 18:22:13 -03:00
database Fix database migration order 2020-02-16 13:52:36 -03:00
public Fix dependencies and tags in portfolios 2020-02-17 21:30:44 -03:00
resources Fix dependencies and tags in portfolios 2020-02-17 21:30:44 -03:00
routes Many tweaks for final version 2020-02-09 18:22:13 -03:00
storage Implement home and resume page, initial settings 2020-01-30 11:40:04 -03:00
tests Initialize repository 2020-01-27 22:09:34 -03:00
.editorconfig Initialize repository 2020-01-27 22:09:34 -03:00
.env.example Fix database migration order 2020-02-16 13:52:36 -03:00
.gitattributes Initialize repository 2020-01-27 22:09:34 -03:00
.gitignore Fix dependencies and tags in portfolios 2020-02-17 21:30:44 -03:00
.styleci.yml Initialize repository 2020-01-27 22:09:34 -03:00
artisan Initialize repository 2020-01-27 22:09:34 -03:00
composer.json Many tweaks for final version 2020-02-09 18:22:13 -03:00
composer.lock Many tweaks for final version 2020-02-09 18:22:13 -03:00
install.sh Fix database migration order 2020-02-16 13:52:36 -03:00
LICENSE Many tweaks for final version 2020-02-09 18:22:13 -03:00
package.json Fix dependencies and tags in portfolios 2020-02-17 21:30:44 -03:00
phpunit.xml Initialize repository 2020-01-27 22:09:34 -03:00
README.md Documentation tweaks 2020-02-14 14:22:42 -03:00
server.php Initialize repository 2020-01-27 22:09:34 -03:00
webpack.mix.js Many tweaks for final version 2020-02-09 18:22:13 -03:00
yarn.lock Fix dependencies and tags in portfolios 2020-02-17 21:30:44 -03:00

RGOU Portfolio/Resume in Laravel

A portfolio/resume built in Laravel. Free to use.

Built with

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.