Installation guide

Coordinator
Feb 24, 2009 at 5:48 AM
Edited Sep 4, 2009 at 1:05 PM

Installing pesta and raya

Prerequisites

  • ASP .NET 3.5
  • ASP .NET MVC, http://go.microsoft.com/fwlink/?LinkID=140768&clcid=0x409
  • Your favourite versioning tool, eg. Tortoise SVN, http://tortoisesvn.tigris.org/
  • Access to MS SQL database or SQL database express
  • Windows Azure SDK (if you want to run on Windows Azure)

create a folders on your drive somewhere containing the folders

- pesta
- raya

Then, check-out the code for each folder at the locations specified below
- pesta, http://pesta.googlecode.com/svn/trunk/pesta/
- raya, https://raya.svn.codeplex.com/svn/


Installing the SQL database
You either use SQL Server Management Studio or from the command line via sqlcmd to create the database.
Under the raya project, there is a file called raya.sql. This is the database script.

You will first need to create a database called raya. Once this is done, simply execute the script (raya.sql)
from raya.


pestaServer web.config
There are only 3 things you need to do here
1. Point the connection string to the database you've created
2. Specify the address for containerUrlPrefix. This is the address of the "raya project" when it starts up.
You can update the dynamic port number later.
3. Either specify the tokenMasterKey so that communication between the site and gadget server includes a security token
OR
set allowUnauthenticated to true to bare it all


raya web.config
In the web.config file, you will need to
1. Point the connectionString to the database you created above
2. If you had specify the tokenMasterKey for pesta, you will need to specify the same value here
3. specify the address of the gadget_server, ie. the address that pesta is running on.

Windows Azure

Two CloudServices are included in the solution

  1. CloudServiceDeployAll
  2. CloudServiceLocal

CloudServiceLocal

This project is used for local development. You will need to create the local test storage tables by right-clicking on the project name and selecting "Create Test Storage Tables"

CloudServiceDeployAll

This project is used for publishing the project on to the cloud. pestaServer will run on port 8000 and raya on port 80. You will need to edit ServiceConfiguration.cscfg and enter your accountname and sharedkey value.

To deploy to the cloud, you just need to right click on the project name and select Publish....

 

Jul 1, 2009 at 3:09 PM

Hi, I am not able to check out the codes for the folders:

 

Then, check-out the code for each folder at the locations specified below
- pesta, https://pesta.googlecode.com/svn/trunk/pesta/pesta/
- pestaserver , https://pesta.googlecode.com/svn/trunk/pesta/pestaServer/
- raya, https://raya.svn.codeplex.com/svn/raya

 

It asks me the credentials for the https://pesta.googlecode.com:443, but I am not able to register for it. When I try to access this site in IE its doesnt open anything where I can register.

So, please help.

 

Thanks

Akshaya

Coordinator
Jul 1, 2009 at 5:46 PM

Hi,

  Sorry, the correct urls for non-members is

- pesta, http://pesta.googlecode.com/svn/trunk/pesta/pesta/
- pestaserver , http://pesta.googlecode.com/svn/trunk/pesta/pestaServer/

Should have been just http:// not https://. There are also instructions at http://code.google.com/p/pesta/source/checkout.

For raya, please go to http://raya.codeplex.com/SourceControl/ListDownloadableCommits.aspx and choose from the menu on the right hand side

I will update the installation guide.

Regards,

Sean

From: akshayakrsh [mailto:notifications@codeplex.com]
Sent: Wednesday, July 01, 2009 11:10 PM
To: seanlinmt@gmail.com
Subject: Re: Installation guide [raya:48332]

From: akshayakrsh

Hi, I am not able to check out the codes for the folders:

Then, check-out the code for each folder at the locations specified below
- pesta, https://pesta.googlecode.com/svn/trunk/pesta/pesta/
- pestaserver , https://pesta.googlecode.com/svn/trunk/pesta/pestaServer/
- raya, https://raya.svn.codeplex.com/svn/raya

It asks me the credentials for the https://pesta.googlecode.com:443, but I am not able to register for it. When I try to access this site in IE its doesnt open anything where I can register.

So, please help.

Thanks

Akshaya

Read the full discussion online.

To add a post to this discussion, reply to this email (raya@discussions.codeplex.com)

To start a new discussion for this project, email raya@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com

Jul 2, 2009 at 7:43 AM

Hi Sean

 

Thanks for the updated URLs, I was able to get files from there. But, as I proceeded with the instructions I got stuck with 2 new problems:

1. There's a missing DLL called "ELMAH", this is referenced in both Pesta Server and Raya projects.

2. When I tried to build the solution containing Pesta and Pesta Server I got the below error:

Error    3    The "YuiCompress" task could not be loaded from the assembly D:\Projects\OpenSocial\pestaserver\..\CustomBuildTasks\bin\Debug\CustomBuildTasks.dll. Could not load file or assembly 'file:///D:\Projects\OpenSocial\CustomBuildTasks\bin\Debug\CustomBuildTasks.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available.    D:\Projects\OpenSocial\pestaserver\pestaServer.csproj    483    5    pestaServer

 

Please help me in getting rid of these errors.

 

Thanks

Akshaya

Jul 2, 2009 at 7:47 AM
Edited Jul 2, 2009 at 8:20 AM

Ok, I found the Elmah thing, we can get the code from Elmah by checking it from "<tt id="checkoutcmd">http://elmah.googlecode.com/svn/trunk/"</tt>. Although this is not mandatory to kept in the project.

And for the second Error - in this documentation, there's a missing instruction in which we have to create a folder CustomBuildTasks along with the other folders and check out the content from "http://pesta.googlecode.com/svn/trunk/pesta/CustomBuildTasks".

Now this is frustrating, even after downloading the CustomBuildTasks code from the above link, I am not able to use the project. Every time I try to open this project I get an exception and the project closes. So what do I do now?

 

Thanks

Akshaya

Coordinator
Jul 2, 2009 at 9:31 AM

You will also need to download a project at http://pesta.googlecode.com/svn/trunk/pesta/CustomBuildTasks/

This project minifies the javascript features at compile time.

From: akshayakrsh [mailto:notifications@codeplex.com]
Sent: Thursday, July 02, 2009 3:43 PM
To: seanlinmt@gmail.com
Subject: Re: Installation guide [raya:48332]

From: akshayakrsh

Hi Sean

Thanks for the updated URLs, I was able to get files from there. But, as I proceeded with the instructions I got stuck with 2 new problems:

1. There's a missing DLL called "ELMAH", this is referenced in both Pesta Server and Raya projects.

2. When I tried to build the solution containing Pesta and Pesta Server I got the below error:

Error 3 The "YuiCompress" task could not be loaded from the assembly D:\Projects\OpenSocial\pestaserver\..\CustomBuildTasks\bin\Debug\CustomBuildTasks.dll. Could not load file or assembly 'file:///D:\Projects\OpenSocial\CustomBuildTasks\bin\Debug\CustomBuildTasks.dll' or one of its dependencies. The system cannot find the file specified. Confirm that the <UsingTask> declaration is correct, and that the assembly and all its dependencies are available. D:\Projects\OpenSocial\pestaserver\pestaServer.csproj 483 5 pestaServer

Please help me in getting rid of these errors.

Thanks

Akshaya

Read the full discussion online.

To add a post to this discussion, reply to this email (raya@discussions.codeplex.com)

To start a new discussion for this project, email raya@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on codePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at codeplex.com

Coordinator
Sep 4, 2009 at 1:06 PM

installation instructions has been updated for latest code