Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/installation/general-installation-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,20 @@ So if you want to run the app locally (from binaries or sources), you need to in
- [Instruction for Debian/Ubuntu](linux/basic-environment.md)
- [Instruction for Windows](windows/basic-environment.md)

####Installing from Binaries
#### Installing from Binaries
- Download latest version from our [repository](http://repo.jtalks.org/content/repositories/deployment-pipeline/deployment-pipeline/jcommune/), you're interested in *.war files inside of directories.
- Rename it to `jcommune.war`, put it into your $TOMCAT_HOME$/webapps (don't start Tomcat yet).
- Now you need to configure DB access and other stuff. It's done via configuration file, the sample can be found [here](jcommune.xml), its name should be the same as the war-file name and it should be placed into `$TOMCAT_HOME/conf/Catalina/localhost`. For more details, read comments inside of the file per se.
- What's left is to start the Tomcat which is described in basic environment installation
- If you don't want to install [Poulpe](https://github.com/jtalks-org/poulpe) to administrate the forum (create branches, give permissions to user groups), you can use our SQL files that fill DB for you so that you can test it. You'll need to apply [these scripts](https://github.com/jtalks-org/jcommune/blob/master/jcommune-model/src/main/resources/org/jtalks/jcommune/model/sample-forum.sql).

####Building from sources
#### Building from sources
- You'll need to install a dev environment ([linux instructions](linux/dev-environment.md), [windows instructions](windows/dev-environment.md)). Alternatively to Git, you may want to download the sources [directly as a zip](https://github.com/jtalks-org/jcommune/archive/master.zip) if you don't have Git and you don't want to install it. This won't allow you to contribute to the project though.
- Clone the project: `git@github.com:jtalks-org/jcommune.git`. Now you can work with that project from your IDE.
- If you want to deploy it from command line.. Step into the folder and build it: `mvn clean package`
- Repeat everything from _Installing from Binaries_ but instead of downloading war-file, just grab it from `jcommune/jcommune-view/jcommunew-web-view/target`

####Advanced configuration of MySQL Server
#### Advanced configuration of MySQL Server
- Make sure that you are using MySQL Server ver. 5.7.9 or higher. Edit the my.cnf file (my.ini on Windows operating systems) in your MySQL server. The configuration file may be located on one of the following paths (in priority order):
WINDOWS:
- %PROGRAMDATA%\MySQL\MySQL Server X.X\my.ini (my.cnf)
Expand All @@ -41,4 +41,4 @@ So if you want to run the app locally (from binaries or sources), you need to in
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci
- Without making this changes symbols from UTF8MB4 character set will be displayed like '??'.
- Restart your MySQL server for the changes to take effect.
- Restart your MySQL server for the changes to take effect.