-
- Organizations involved and roles
-
-
- Understanding the code base
- Application architecture
- Domain objects
- Other design topics
Troubleshooting is the place where all solutions of most usual problems can found… and should be gathered. :)
This page could be named as well…
What to understand while playing with git
is that you will actually play with three repository:
upstream
(or also named sigmah-dev
): the official online sigmah-dev repository which contains all accepted commits from all partiesorigin
: your online fork repository on GitHub, which is a fork of the sigmah-dev
repository
If the upstream official sigmah-dev
repo has new changes and your local repo and your online fork are no more up-to-date, the route to follow to update them is: 1. update your local repo, 2. push those updates to your online fork.
In command lines from the source folder of your local repository, it will look like:
# 0. List remotes to be sure of the names to use git remote #_example result begin_ #origin #sigmah-dev #_example result end_ # 1. Pull changes from the upstream 'sigmah-dev' repository to the master branch of your local repo git pull sigmah-dev master # 2. Push changes from your local repo to your online fork 'origin' git push origin
In your Tomcat “bin” directory, do the following replacement in the “catalina.bat” file:
original part
:noJuliConfig set "JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%" :noJuliManager set "JAVA_OPTS=%JAVA_OPTS% %LOGGING_MANAGER%"
replaced part
:noJuliConfig set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG% :noJuliManager set JAVA_OPTS=%JAVA_OPTS% %LOGGING_MANAGER%
Solution found on http://stackoverflow.com/a/26374164 .
If you get this error while running Sigmah or while installing (database migration):
operator class "gin_trgm_ops" does not exist for access method "gin"
It's because your sigmah database lacks the pg_trgm extension (which is useful for full-text search since we can't do that in pure SQL).
Use a superuser account (postgres) to install the extension in the sigmah database:
psql --username postgres sigmah --command "CREATE EXTENSION IF NOT EXISTS pg_trgm;"