The initial alpha release does not ship with an installer. In order to get started with FrogBlogger, please update the script, below, to create a default blog.

USE FrogBlogger
GO

INSERT INTO dbo.Blog
(
    BlogId,
    Name,
    FriendlyName
)
VALUES
(
    NEWID(),
    'FrogBlogger', -- Human readable name of your blog (may contain spaces).
    'frogblogger'  -- URL friendly name for your blog (may not contain spaces). Also, update the DefaultBlog setting in web.config to match this value
)

GO

Create the application and add the Admin role
USE FrogBlogger
GO

DECLARE	@return_value int

EXEC	@return_value = dbo.aspnet_Roles_CreateRole
		@ApplicationName = N'/', -- This is the default name, but can be configured in web.config
		@RoleName = N'Admin'

SELECT	'Return Value' = @return_value

GO

Update the web.config file
<connectionStrings>
  <add name="ApplicationServices" connectionString="Data Source=localhost\SQLEXPRESS;Initial Catalog=FrogBlogger;Integrated Security=True" providerName="System.Data.SqlProvider" />
  <add name="FrogBloggerContainer" connectionString="metadata=res://*/FrogBlogger.csdl|res://*/FrogBlogger.ssdl|res://*/FrogBlogger.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=localhost\SQLEXPRESS;Initial Catalog=FrogBlogger;Integrated Security=True;MultipleActiveResultSets=True&quot;" providerName="System.Data.EntityClient" />
</connectionStrings>
<appSettings>
  <add key="DefaultBlog" value="frogblogger" />
</appSettings>

Last edited Dec 29, 2009 at 6:47 PM by senfo, version 3

Comments

No comments yet.