Redmine is a flexible project management web application. Written using the Ruby on Rails framework, it is cross-platform and cross-database.
The sysconf/
directory contains the Sysconf
definitions (see the
official Sysconf repository)
to build the
Gitted-enabled system
with Redmine, its dependencies and the settings to import/export
the Redmine MySQL database as Git files.
You don't need to be root! but you need Git and LXC installed on your Linux system. See Gitted for more information.
git clone https://github.com/geonef/gitted.redmine.demo.git
cd gitted.redmine.demo
sysconf/gitted-client register
sysconf/gitted-client add redmine
git push redmine master
The last command creates the LXC container redmine
,
install redmine and the required packages (from sysconf/
) and
import the data.
-
Open the URL
http://<IP>
on your browser (get the container IP from thegit push
messages or withlxc-ls -f
. -
Log as : admin / admin
From the repository directory you have cloned:
git pull redmine master
It's as simple as that. Now you can make a git push origin master
to propagate the changes to the upstream remote, or any
other remote, as usual with Git.
git subtree pull -P sysconf/sysconf.base [email protected]:geonef/sysconf.base.git master
git subtree pull -P sysconf/sysconf.gitted [email protected]:geonef/sysconf.gitted.git master
git subtree pull -P sysconf/sysconf.gitted.redmine [email protected]:geonef/sysconf.gitted.redmine.git master
git subtree push -P sysconf/sysconf.base [email protected]:geonef/sysconf.base.git master
git subtree push -P sysconf/sysconf.gitted [email protected]:geonef/sysconf.gitted.git master
git subtree push -P sysconf/sysconf.gitted.redmine [email protected]:geonef/sysconf.gitted.redmine.git master
To remove a sub-tree directory:
git filter-branch --index-filter 'git rm --cached --ignore-unmatch -rf sysconf/sysconf.abc' --prune-empty -f HEAD