Skip to content
Website source code for www.junelsolis.com
PHP Vue HTML Shell Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/ISSUE_TEMPLATE
app
composer
nginx
.gitignore
.travis.yml
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
docker-compose.yml
entrypoint.sh
php.dockerfile
setup.sh

README.md

My personal website is in desperate need of a makeover.

The site will be rebuilt afresh and this repository will serve as its codebase. I have decided to make it public to show how I've built it. Pull requests from the public are very welcome!

Mockups

Mockups are done in Figma and can be found here

Requirements

  • Docker Engine
  • Docker Compose

Installation

  • Clone this repository
  • Run ./setup.sh
  • Set the CONTACT_EMAIL_ADDRESS variable in the .env file
  • Browse to http://localhost:8710

Projects

The Projects section of the homepage is dynamically-generated from Project objects. These can be populated through the command-line by browsing to the root directory of the project and running docker-compose exec php bash and then php artisan tinker. The following is an example of how to create a Project object and persist in the database:

App\Project::create([
    'name' => 'Title of Project',
    'description' => 'Description of Project',
    'url' => ['https://www.project-site.com'],
    'image_urls' => ['https://image.com/1.jpg', 'https://image.com/2.jpg],
    'commit_count => 235,
    'tags' => ['gis', 'stripe', 'mapbox'],
]);

For more information on this, please have a look at the Project.php and 2020_02_09_033742_create_projects_table.php files. In the future, my plan is to have project data reside as posts in Wordpress instance and access it via the Wordpress API.

Build scripts

In order to build brotli-compressed versions of the files, use the npm run production script. For development, use npm run watch or npm run dev in order to save time.

Tests

The test suite for this project is located in ./app/tests

I want this site

Do you want to use/extend this site as your own? Go right ahead! Fork or clone this repository. The MIT License allows you to do just that. All I ask in return is that you buy me a coffee.

Buy Me A Coffee

You can’t perform that action at this time.