Livila / website

This is the main website for dbwebb.se

Home Page:https://dbwebb.se

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dbwebb.se website

Join the chat at https://gitter.im/mosbth/dbwebb

This is the main website for dbwebb.se, live at https://dbwebb.se.

Work to merge content from older dbwebb, available at cc1.dbwebb.se is ongoing.

For developers and maintainers

This is how I do it on Debian/Linux.

Inspect the Makefile to find out whats actually happens.

###Dependencies

  • Apache2 and PHP5 (with pecl and GD)
$ sudo apt-get install apache2 php5 libapache2-mod-php5 php5-dev php-pear php5-gd

###Fresh install

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.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

###Keep updated

Update the code base, the external packages and publish locally.

$ make update

###Develop and test locally

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

###Install all submodules

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

###Help me

 .                                                             
..:  Copyright (c) 2012 - 2016 Mikael Roos, mos@dbwebb.se   

About

This is the main website for dbwebb.se

https://dbwebb.se

License:Other


Languages

Language:PHP 56.2%Language:HTML 23.3%Language:CSS 12.3%Language:JavaScript 5.1%Language:Shell 1.5%Language:Makefile 1.4%Language:ApacheConf 0.1%