Website grillcon.dbwebb.se for the annual event for students and alumni, mainly at the education program Web programming at BTH. Together with some software engineers.
This is how I do it on Debian/Linux.
Inspect the Makefile to find out whats actually happens.
- Apache2 and PHP5 (with pecl and GD)
$ sudo apt-get install apache2 php5 libapache2-mod-php5 php5-dev php-pear php5-gd
Start by preparing your local development environment.
$ git clone <the original or your forked repo>
$ cd <the original or your forked repo>
$ make etc-hosts
$ make virtual-host
$ make update
Now open your browser at local.grillcon.dbwebb.se
and browse the website.
If you need to upgrade your existing installation you can just redo it all.
$ make etc-hosts virtual-host update
Update the code base, the external packages and publish locally.
$ make update
Make changes in your repo, publish using make local-publish
and reload your browser.
# Do changes and then publish them locally.
$ make local-publish
# Clear the cache when publishing
$ make local-publish-clear
Some content is available in external submodules. To install them, where you have the properties to do so, do like this.
$ make submodule-init local-publish
To keep updated, including all submodules.
$ make update-all
.
..: Copyright (c) 2016 Mikael Roos, [email protected]