/Phocalstream

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Distributed under the Apache License v. 2.0.  See License.txt for details.

Basic Setup:
Connection strings and app settings files will need to be provided in App_Config. 

Sample connectionStrings.config

<connectionStrings>
  <add name="DbConnection" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=phocalstream;Integrated Security=True;" providerName="System.Data.SqlClient" />
  <add name="DMConnection" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=droughtmonitor;Integrated Security=True;" providerName="System.Data.SqlClient" />
  <add name="WaterDBConnection" connectionString="Data Source=.\SQLEXPRESS;Initial Catalog=WaterData;Integrated Security=True;" providerName="System.Data.SqlClient" />
</connectionStrings>

Sample appSettings.config

<appSettings>
  <add key="webpages:Version" value="2.0.0.0" />
  <add key="webpages:Enabled" value="false" />
  <add key="PreserveLoginUrl" value="true" />
  <add key="ClientValidationEnabled" value="true" />
  <add key="UnobtrusiveJavaScriptEnabled" value="true" />
  <add key="photoPath" value="X:/" />
</appSettings>

Lastly, for developers who will run Phocalstream_Importer, an app.config file will need to be provided with a valid connection string 
to a SQL Server instance.  An example file looks like: 

<?xml version="1.0"?>
<configuration>
  <configSections>
    <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=4.4.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
  </configSections>
  <connectionStrings>
    <add name="DbConnection" connectionString="[CONNECTION_STRING]" providerName="System.Data.SqlClient"/>
  </connectionStrings>
  <entityFramework>
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
      <parameters>
        <parameter value="v11.0"/>
      </parameters>
    </defaultConnectionFactory>
  </entityFramework>
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/></startup></configuration>




Copyright (c) 2012, University of Nebraska-Lincoln.  All rights reserved.