-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
sudo apt-get install git
mkdir git
git config --global user.name “alice”
git config --global user.email alice@mail.com
git config --global core.editor gedit
git config --global merge.tool kdiff3
git config --global credential.helper cache
git config --global push.default simple
git config --list
git clone https://github.com/GiInfo/SXP
sudo apt-get install default-jdk
sudo apt-get install nodejs-legacy
sudo apt-get install nodejs-npm
sudo apt-get install gradle
sudo npm install electron-packager -g
cd src/main/js/
electron-packager . SXP --platform=linux --arch=x64 --version=1.2.3
(if electron-packager is not available see alternative way of running the GUI below)
cd ~/git/SXP
gradle build
(some tests may fail, not a catastrophy, gradle run will still work)
cd src/main/js/SXP-linux-x64
./SXP
First:
cd src/main/js/
google-chrome --disable-web-security --user-data-dir html/index.html
Then:
Open a new tab and browse the https://localhost:8081 web page. A warning should be displayed indicating that the connection is not secure. Click on Advanced parameters and Continue to localhost. Chrome is now trusting the SXP self-signed certificate. You can close the tab and continue to browse SXP files.
gradle run
Use macport instead of apt-get. Slight modifications:
sudo port install nodejs6
...
sudo port install npm3
...
electron-packager . SXP --platform=darwin --arch=x64 --version=1.2.3
...
cd src/main/js/SXP-darwin-x64
...
./SXP.app
Download and install latest Github git client.
Clone the repo.
Download and install latest JDK. This should update the classpath automatically.
Download and install latest Gradle.
Download and install latest NodeJS. It includes npm.
npm install electron-packager -g
cd src/main/js/
electron-packager . SXP --platform=windows --arch=x64 --version=1.2.3
Launch as for other platforms.
Install latest version for Java developers. This ought to include support for git (egit) and gradle (buildship), check for instance in
File > Import... > Gradle Project
To import the project, you must use the Gradle wizard! Accept recommended options such as gradle wrapper.
Launch by going to gradle tasks pane, Application > run.