MIFOSX-1756 Make it easy for Static Web Content such as the community-app to be served by the new standalone end-user server (not development)
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
Welcome to the Mifos community!
|
||||
===============================
|
||||
|
||||
Depending on the OS you're running, you should have "runmifosx.sh" (for Linux and Mac) and
|
||||
"runmifosx.bat" (for Windows) in this directory. These are small scripts that allow you to
|
||||
run MifosX on your computer locally. To be able to run MifosX, just double-click on the script,
|
||||
that is, "runmifosx.sh" if you are on Linux or Mac, or "runmifosx.bat" if you are on Windows.
|
||||
|
||||
Note
|
||||
====
|
||||
If you have a web front-end that you want to use along with the backend server, put your index.html
|
||||
inside the "web" folder along with all the other source files.
|
||||
P.S.: the index.html should be in the "web" folder itself
|
||||
|
||||
We hope you'll have an amazing experience working with MifosX.
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
java -version >nul 2>&1 && (
|
||||
echo "Found Java."
|
||||
) || (
|
||||
echo "Java should be installed to run MifosX."
|
||||
exit
|
||||
)
|
||||
|
||||
echo "Starting MifosX ..... "
|
||||
|
||||
java -Djava.awt.headless=false -jar mifosng-provider.war
|
||||
+15
@@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
# First of all, check if Java is installed on this computer
|
||||
|
||||
if hash java; then
|
||||
echo "Found Java:"
|
||||
echo $(java -version)
|
||||
else
|
||||
echo "Java should be installed to run MifosX."
|
||||
exit
|
||||
fi
|
||||
|
||||
echo "Starting MifosX ..... "
|
||||
|
||||
java -Djava.awt.headless=false -jar mifosng-provider.war
|
||||
Reference in New Issue
Block a user