In this chapter, we'll explain how to install the demo application.
Important
To install the deployment application, see Server installation. This advanced document is intended for administrators.
To download the latest version ofAmetys, go to the application download page on the Ametys Community website. Several types of installation are available.
Download the .exe file to your hard disk. Double-click on the downloaded file to start installation.
Download the .sh file to your hard disk. Add execution rights with the command :
chmod u+x ametys-demo-4.7.X.sh
Next, run the :
./ametys-demo-4.7.X.sh
Check that Java is correctly installed on your Mac.
Download the .jar file to your hard disk. Double-click on the downloaded file to start installation. Follow the step-by-step installation instructions below.
Once the application has been installed, open the installation directory Ametys , usually located in the Applications folder.
Right-click on the start.sh file
Open the file with Terminal
A command window is launched, and when the message "Started SelectChannelConnector@0.0.0.0:8080" is displayed, this means that your Ametys demo server has been launched, so the application has been started and you're ready to take your first steps.
Check that Java is installed on your computer and that environment variables are correctly set in the PATH (see this guide for more information).
In a console, run the command
java -jar ametys -demo-4.7.X.jar
If the installation process does not detect Java then it will ask you to specify it or download it automatically. We recommend that you download the latest version of Java.
The demo version ofAmetys is available in English and French.
Select your preferred language from the list.
Start the application by double-clicking on the shortcut located on your desktop or in your menu.
Double-click to open a help web page and console. This is your Ametys demo server.
When the message"Started SelectChannelConnector@0.0.0.0:8080" is displayed, this means that the application has been started (port 8080 must be free).
You are now ready to take your first steps into the world of Ametys.
Leave the console open while using the application.
To stop the application, press Ctrl + C in the console.
In the Windows console, confirm with O.
In the Linux console, simply press Ctrl + C.
To uninstall the application under Windows, open the Control Panel, open the Uninstall a program panel, select Ametys Demo 4.7.x and click on "Uninstall/Change".
To uninstall the application under Linux, open the console and follow these steps:
# Se rendre dans le répertoire où Ametys est installé cd /path/to/ametys # Exéctuer le fichier JAR de désinstallation java -jar Uninstaller/uninstaller.jar
Wait a few moments... a pop-up window will open, allowing you to launch the uninstall process. Click on the Uninstall button (depending on the language you chose during installation).