<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Installation</title><link>https://sourceforge.net/p/nimble/wiki/Installation/</link><description>Recent changes to Installation</description><atom:link href="https://sourceforge.net/p/nimble/wiki/Installation/feed" rel="self"/><language>en</language><lastBuildDate>Mon, 06 Apr 2015 00:38:01 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/nimble/wiki/Installation/feed" rel="self" type="application/rss+xml"/><item><title>Installation modified by ideaStub.com</title><link>https://sourceforge.net/p/nimble/wiki/Installation/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Overview&lt;br /&gt;
aNimble Platform is a 3-tier application consisting of a client interface which connects to a “J2EE Server”, and the server in turn connects to a database. The benefits of this configuration include the ability to support multiple clients including web browsers. In addition, the central database allows all clients to see the most up-to-date data, with no need for syncing. The use of multiple servers allows for larger institutions to introduce scalability and high availability options such as load balancers, application clustering and mirrored databases. Finally aNimble’s setup is secure by taking advantage of industry standard approaches for authorization and authentication such as SSL and password encryption as well as providing integration with common LDAP storage facilities.&lt;/p&gt;
&lt;p&gt;Installation This document consists of the following:&lt;/p&gt;
&lt;p&gt;•Instructions to install Java Development Kit&lt;br /&gt;
•Install the database&lt;br /&gt;
•◦SQL Server Database Setup Notes&lt;br /&gt;
◦MySQL Database Setup Notes&lt;/p&gt;
&lt;p&gt;•Instructions to install aNimble Platform&lt;br /&gt;
•Instructions for custom development on aNimble Platform&lt;/p&gt;
&lt;p&gt;Install Java Development Kit (JDK)&lt;br /&gt;
Go to java.sun.com, download and install the JDK. Currently, aNimble Platform has been deployed and tested on the following versions: jdk 1.6, jdk 1.5&lt;/p&gt;
&lt;p&gt;Install the database&lt;br /&gt;
SQL Server Database Setup Notes&lt;br /&gt;
 Download and install SQL Server. Currently, aNimble Platform has been deployed and tested on the following versions: SQL Server Express 2008&lt;br /&gt;
 Install Microsoft SQL Server.&lt;br /&gt;
 Install SQL Server Management Studio.&lt;br /&gt;
 Open Microsoft SQL Server Management Studio and connect to your SQL Server instance.&lt;/p&gt;
&lt;p&gt;Create aNimble Platform Database&lt;br /&gt;
 Right click on the Database folder and select New Database&lt;br /&gt;
 Enter ‘aNimble_Platform’ as the database name&lt;br /&gt;
 Under Options, set ansi padding = false&lt;br /&gt;
 Set ansi nulls default = true&lt;br /&gt;
 Press OK&lt;/p&gt;
&lt;p&gt;Create Login&lt;br /&gt;
 Under Security, right click on Logins&lt;br /&gt;
 Create login ‘anp’ with password ‘anp_0704’&lt;br /&gt;
Press OK&lt;br /&gt;
 Under Databases -&amp;gt; aNimble_Platform -&amp;gt; Security, right click on Users&lt;br /&gt;
 Create user ‘anp’ for login ‘anp’&lt;br /&gt;
Press OK&lt;br /&gt;
 Under Databases, right click aNimble_Platform and select Properties&lt;br /&gt;
 Under Permissions, select ANP and grant select, insert, update, delete rights.&lt;br /&gt;
 These permissions will be permanent and are needed for run-time.&lt;/p&gt;
&lt;p&gt;Also select Alter, Create Table and Create View rights.&lt;br /&gt;
 In addition, grant the sysadmin Server Role.&lt;br /&gt;
 Note: these 3 particular permissions and role can be removed immediately prior to the production release as they are only used during the schema and data script setup process.&lt;/p&gt;
&lt;p&gt;Enable remote access&lt;br /&gt;
 Go to menu Start -&amp;gt; Sql Server - &amp;gt; Sql Server Surface Configuration&lt;br /&gt;
 Go to Surface Area Configuration for Services and Connections&lt;br /&gt;
 Go to Remote Connections&lt;br /&gt;
 Go to Local and remote connections with TCP/IP&lt;br /&gt;
 Go to Select menu Start -&amp;gt; Sql Server -&amp;gt; Sql Server Configuration Manager&lt;br /&gt;
 Network Configuration -&amp;gt; Protocols&lt;br /&gt;
 Enable TCP/IP&lt;br /&gt;
 For IP Address set Dynamic ports value to empty&lt;br /&gt;
 Set port to 1433 for all IP Addresses&lt;br /&gt;
 Restart the SQL Server instance&lt;br /&gt;
 Change the properties of the SQL Server browser to be started manually&lt;br /&gt;
 Start Server Server Browser&lt;br /&gt;
 Test connectivity using the following command line:&lt;br /&gt;
 sqlcmd -S.\sqlexpress&lt;br /&gt;
 A prompt consisting of: &lt;br /&gt;
 1)&lt;br /&gt;
 indicates success. Type exit and continue.&lt;/p&gt;
&lt;p&gt;MYSQL Server Database Setup Notes&lt;br /&gt;
 Download and install MySQL. Currently, aNimble Platform has been deployed and tested on the following versions: MySQL Server 5.5&lt;br /&gt;
 Install MySQL.&lt;br /&gt;
 Install MySQL Workbench.&lt;br /&gt;
 Open MySQL Workbench and connect to your MySQL instance.&lt;/p&gt;
&lt;p&gt;Create aNimble Platform Database&lt;br /&gt;
 Click Add Schema&lt;br /&gt;
 Enter ‘aNimble_Platform’ as the schema name&lt;br /&gt;
 Press Apply&lt;/p&gt;
&lt;p&gt;Create Login&lt;br /&gt;
 From Workbench Central, go to Manage Security for this instance. Under Security, click Users and Privileges&lt;br /&gt;
 Add account ‘anp’ with password ‘anp_0704’&lt;br /&gt;
Press Apply&lt;br /&gt;
 Under Schema Privileges, click on ‘anp’&lt;br /&gt;
Click add entry.&lt;br /&gt;
 Under Schema -&amp;gt; Selected Schema, select ‘aNimble_Platform’. Press OK&lt;br /&gt;
 Under Users, click ‘anp’, and select ‘aNimble_Platform’&lt;br /&gt;
Click Select All, and then click Save Changes.&lt;/p&gt;
&lt;p&gt;Install aNimble Platform&lt;br /&gt;
Download and Expand Application&lt;br /&gt;
 Go to sourceforge.net and download aNimble Platform. The download consists of a compressed zip file. Expand the zip file into a target folder of choice. For example, expanding the zip file to the C: drive, will produce a new folder structure of C:\animble platform. There are three sub-folders within the initial folder, the first of which is the Grails run-time engine. The second folder is where the Search Index is maintained. The third folder, nimble_grails, contains aNimble Platform code which hereafter will be referred to as the application root folder or &amp;lt;anp_home&amp;gt;.&lt;/p&gt;
&lt;p&gt;Configure DataSource.groovy File&lt;br /&gt;
 Go to the root folder of the installation.&lt;br /&gt;
 Open the following file in a Text Editor:&lt;/p&gt;
&lt;p&gt;&amp;lt;anp_home&amp;gt;\grails-app\conf\DataSource.groovy&lt;/p&gt;
&lt;p&gt;Adjust the datasource and environments values as needed&lt;/p&gt;
&lt;p&gt;Prepare the Database&lt;br /&gt;
 Two basic options exist for preparing the database.&lt;br /&gt;
•For new users, a Full Install will be required. This install will create the schema needed for the application, load configuration data that is necessary (i.e. Reference and View data), as well as sample data (i.e. Projects and Artifacts).&lt;br /&gt;
•For users upgrading from OSRMT and have an existing application schema (i.e. OSRMT version 01_50_mar28), an OSRMT Install will be necessary. This install will upgrade the database schema as well as modify existing data and insert new application data.&lt;br /&gt;
Once the initial install of aNimble Platform is complete, for all future releases, Upgrade Installs will be used to modify the database.&lt;/p&gt;
&lt;p&gt;New, Full Install - Create New Schema and Load Data&lt;br /&gt;
 Open command prompt and in the &amp;lt;anp_home&amp;gt; directory, run the following:&lt;/p&gt;
&lt;p&gt;execute_database_scripts_install_new_anp.bat&lt;/p&gt;
&lt;p&gt;OSRMT Install - Upgrade Existing Schema and Load Data&lt;br /&gt;
 Open command prompt and in the &amp;lt;anp_home&amp;gt; directory, run the following:&lt;/p&gt;
&lt;p&gt;execute_database_scripts_install_from_osrmt.bat&lt;/p&gt;
&lt;p&gt;Upgrade Install &amp;gt; Upgrade Existing Schema and Load Data&lt;br /&gt;
 Open command prompt and in the &amp;lt;anp_home&amp;gt; directory, run the following to upgrade from the last release to the current release:&lt;/p&gt;
&lt;p&gt;execute_database_scripts_upgrade_anp_version.bat&lt;/p&gt;
&lt;p&gt;Start and Access aNimble Platform&lt;br /&gt;
Start Application&lt;br /&gt;
 For initial testing in a Dev environment, open command prompt and in the &amp;lt;anp_home&amp;gt; directory, run the following:&lt;/p&gt;
&lt;p&gt;start_dev_anp.bat&lt;/p&gt;
&lt;p&gt;For production purposes, open command prompt and in the &amp;lt;anp_home&amp;gt; directory, run the following:&lt;/p&gt;
&lt;p&gt;start_prod_anp.bat&lt;/p&gt;
&lt;p&gt;Both scripts start the application using the Tomcat java application server, however the start_dev_anp.bat scripts continually poll for changes (i.e. allowing for web page code tweaks without needing a restart) and should not be used for production purposes.&lt;/p&gt;
&lt;p&gt;Access the Application&lt;br /&gt;
 To access a locally installed application, open a web browser and go to:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://localhost:8080/animble_platform" rel="nofollow"&gt;http://localhost:8080/animble_platform/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;or if installed on a network server:&lt;/p&gt;
&lt;p&gt;http://&amp;lt;server_name&amp;gt;:8080/animble_platform/&lt;/p&gt;
&lt;p&gt;To login initially, use one of the following accounts:&lt;br /&gt;
•Role - Administrator&lt;br /&gt;
•Login - demo&lt;br /&gt;
•Password - nimble&lt;br /&gt;
•Role - User&lt;br /&gt;
•Login - user&lt;br /&gt;
•Password - nimble&lt;br /&gt;
Create Search Index&lt;br /&gt;
 To create the initial Search Index, click the Administration menu option, then click Search, and finally click Run Index. A thread will be started which will begin creation of the Search Index. All other new additions and updates to records are automatically reflected during the save process.&lt;/p&gt;
&lt;p&gt;Custom Development with Grails&lt;br /&gt;
Install Grails&lt;br /&gt;
 For those interested in performing custom aNimble Platform development of either Grails code or scripts may find it beneficial to install the Grails environment variables. See below for the Grails installation instructions. Currently, aNimble Platform has been deployed and tested on the following versions: Grails 2.1.1 •Create a GRAILS_HOME environment variable that points to the path where the Grails engine lives (eg C:\animble platform\grails-2.1.1 on Windows or ~/animble platform/grails-2.1.1 on Unix)&lt;br /&gt;
•If the JAVA_HOME environment variable is not yet configured, create the JAVA_HOME environment variable that points to the path where Java is installed&lt;br /&gt;
•Append a reference to the "bin" directory within the Grails directory to the PATH variable (eg %GRAILS_HOME%\bin on Windows or $GRAILS_HOME/bin on Unix). Note that, for Windows, both PATH and GRAILS_HOME must be defined at the same environment variable level (eg. 'System variables') rather than across environment variable levels (eg. PATH under 'System variables' and GRAILS_HOME under 'User variables')&lt;br /&gt;
•Type "grails" at the command line, if a help message is displayed then development for Grails can begin.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ideaStub.com</dc:creator><pubDate>Mon, 06 Apr 2015 00:38:01 -0000</pubDate><guid>https://sourceforge.neta2aad44dee1a1eef0bccbdee2529f954c0c04807</guid></item></channel></rss>