Quote From : valley December 31, 2013, 5:20 am Fossil is only installed with the binary located at /usr/local/apps/fossil/fossil
You can configure as per your requirements.
Hi,
I would like to report that I successfully installed fossil and create a repo and wiki with minimal effort.
Since he single fossil binary file (no libs, no so files, nothing, beauty of fossil) is at /usr/local/apps/fossil/fossil, which is not in the standard installation db of centos, , and produce no results.
This does not mean fossil does not work.
Simply create an alias in your ~/.bashrc to point "fossil" to "/usr/local/apps/fossil/fossil" by adding the line below at the end of the file :
Code $ nano ~/.bashrc
...
alias fossil='/usr/local/apps/fossil/fossil'
Then, preferably make a directory outside of public_html (naturally, for security of your fossil data file) like this
Code $ cd
$ mkdir repos
$ cd repos
Now make a test fossil repo:
This will give you a user name and password. Note down every bit of that information
Check if the repo file is made:
Then as detailed on this page - http://www.hwaci.com/cgi-bin/fossil/doc/tip/www/server.wiki#cgi -
make a plain text file named 'repo' with the following contents
This will be your cgi script, so it must be executable:
And it must go to the cgi-bin directory:
Code $ mv -v repo ~/public_html/cgi-bin/
That's it.
Now check if it works:
http://domain.com/cgi-bin/repos/mytest
This should bring up a login screen.
Enter the admin user and password that was displayed when you ran the command.
It is wiser to make a habit of using https, so use https://domain.com/cgi-bin/repos/mytest instead.
Done.
Now you have a source code control system, a issue tracker, and a wiki, all in one app, running from one single binary file named fossil.
The DB file is a standard sqlite db file so your data is never lost - you could query it with any SQL query tool which supports sqlite.
Moving your repo, wiki and issue tracker to another place is as simple as copying 1 file - the mytest.fossil file.
Backup is simple - copy / download one file and you are done.
Fossil is a worth a try if nothing else. Give it a go.
/optsoft
|