Skip to content

jcslm001/murty.io

Repository files navigation

Brendan Ella Isla Freya

About

Here's the Murty website built with Laravel and Feather icons.

Why

I was inspired by Brad Frost's TED talk about being open by default. If you haven't seen this talk yet, I'd recommend investing half an hour to watch the video and read the blog post.

As I'm self-taught, engaging with the community, listening to inspirational people and reading about new techniques helped me turn my passion in to my career.

I hope someone can learn something new from what I've done here and start their own career. Hopefully I can give back to the community that has taught me so much over the years.

License

You can view the License file for rights and limitations when using the code here in your own projects.

The license is based on the CSS-Tricks License which was created by Chris Coyier.

Structure

  • app: Back-end PHP classes
  • config: Site configuration files
  • content: Markdown files that contain the content of each page and post
  • public: Compiled files which are served to public site visitors
  • public/images: Icons, images and photos used in the layout and referenced in Markdown files
  • resources: Uncompiled front-end code
  • resources/sass: SASS style files
  • package.json: Contains website developer information and shortcut commands
  • setup.sh: Initial web server setup script

Requirements

Development

Initial Setup

Make a local clone of this repository and then run setup.sh to complete the initial installation process:

bash setup.sh

Then edit the environment configuration variables to suit your requirements:

vim .env

Local Server

To watch front-end assets for changes:

npm run watch

To run a local server:

php artisan serve

Production Server

Configure your web server to send requests to the relevant domain directly to the public sub-directory.

To prepare the site for production use:

php artisan view:clear
npm run production

Publishing

Making a new version

For a patch to fix a small issue:

npm version patch

For a minor update to the system:

npm version minor

For a major change to the system:

npm version major

Releasing a new package

To create a new package for the current version:

npm publish