The care center project is an example of a functional web application built on top of the SiteBase foundation. The default configuration includes demo logins to allow easy access to the available features of the application. A live demo of the CareCenter project is available at http://digitalbeacon.net/carecenterdemo.
This project is licensed under the GNU General Public License, version 2 (GPLv2).
- .NET 4.5 Runtime
- Git
- (Optional) Visual Studio 2012/2013
- (Optional) 7-Zip for creating deployment zip files
To address the build warnings about missing reference assemblies, install Visual Studio 2012/2013 or the .NET 4.5 SDK, both of which include the reference assemblies for the .NET 4.5 framework.
- Clone repository.
git clone https://github.com/digitalbeacon/carecenter.git
- Initialize SiteBase submodule.
git submodule update --init
- Create symbolic links.
setup-base.cmd
(This script must be run with administrative privileges.) - Build.
build.cmd
- Create deployment files.
publish.cmd
- .NET 4.5 Runtime
- IIS 7
- SQL Server 2012 (SQL Server 2005 and up will work with some assembly binding configuration changes to the web.config file.)
- (Optional) wkhtmltopdf for PDF report generation
- Create the database.
Database\init-db.cmd
This script creates a new database called CareCenterDemo, initializes it with the ASP.NET SQL Membership objects and creates a login called web with the appropriate access. If you have trouble running this script with the default integrated security context, try running it with the/user {user}
flag to specify an explicit SQL user account. - Initialize the database.
Database\reset-db.cmd
This script can be called with the/initpostalcodes
flag to populate the table of postal codes. - Extract or copy the deployment files to a new folder on the web server. If extracting the zip files, all three zip files in the Publish folder should be extracted to the same folder.
- Add a new IIS web application called carecenterdemo pointing to the web site folder configured with a .NET 4/integrated pipeline mode IIS application pool.
- Access the new web application.
- PDF Generation. Install wkhtmltopdf and uncomment the HtmlToPdfExePath setting in the Config\appSettings.config file. Update the setting to the path of the wkhtmltopdf executable.
- View Precompilation. Uncomment the PrecompileViews setting in the Config\appSettings.config file. The views wil be precompiled into a new assembly in the site Bin folder upon initial access.
- Recaptcha. Specify the recaptchaPrivateKey and recaptchaPublicKey settings in the Config\appSettings.config file. Captcha support is currently implemented for password resets.
- Google Analytics. Specify the GoogleAnalyticsId settings in the Config\appSettings.config file.
This project includes or incorporates the following third party projects.
- AngularJS
- AutoMapper
- Blade
- Bootstrap
- Common.Logging
- excanvas
- FluentValidation
- jQuery
- jQuery BeautyTips
- jQuery bgiframe
- jQuery hoverIntents
- jQuery modalBox
- jQuery Validation
- JSON.NET
- log4net
- MarkdownSharp
- MvcContrib
- MyGeneration
- NHibernate
- Recaptcha.NET
- SecuritySwitch
- Spark View Engine
- Spring.NET
- Telerik MVC Extensions
- YUICompressor.NET