Skip to content
A tech blog built with Laravel (2016)
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.
app
bootstrap
config
database
docs
public
resources
storage
tests
.bowerrc
.buildpacks
.gitignore
LICENSE
Procfile
README.md
artisan
bower.json
composer.json
composer.lock
composer.phar
custom_php.ini
gulpfile.js
package.json
phpunit.xml
sample.env
server.php

README.md

Digital Monkey - A Tech Blog

From this version I learnt responsive frontend design and how to use MVC frameworks such as Laravel, Ruby on Rails, etc to quickly develop sites multi-page sites.

This is a reworked version the my final project in DM2517 XML for Publishing. It has been completely rebuilt using Laravel. It was previously built with vanilla PHP and is available in another repo KTH-XMLForPublishing.

Preview

Home page

Digital Monkey Preview 1


Reading a blogpost

Digital Monkey Preview 2

Requirements

  • Homebrew
  • Node
  • Bower
  • PHP +7.0
  • pdo-pgsql module for PHP
  • Grunt-CLI
  • Postgresql

Installing requirements

// Homebrew
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

// Node
$ brew install node

// Bower
$ npm install -g bower

// PHP +7.0
$ brew tap homebrew/dupes
$ brew tap homebrew/versions
$ brew tap homebrew/homebrew-php
$ brew install php70

// pdo-pgsql
$ brew install php70-pdo-pgsql

// Grunt-CLI
$ npm install -g grunt-cli

// Postgresql
$ brew install postgresql

Remember to change php5_module in /etc/apache2/httpd.conf to

LoadModule php7_module /usr/local/opt/php70/libexec/apache2/libphp7.so

First-time setup

// into cd /my-kth-blog
$ createdb my-kth-blog
$ php artisan migrate
$ bower install
$ npm install
$ composer install

You can’t perform that action at this time.