Login | Forgot password | Register

X

What is OpenID?

OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.

With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.

For more information visit the official OpenID site.

Jump to:

17480 Posts in 4474 Topics by 1973 members

Archive

SilverStripe Forums » Archive » Deployment howto

Our old forums are still available as a read-only archive.

Page: 1
Go to End
Author Topic: Deployment howto 430 Views
  • Wualla
    avatar
    Community Member
    3 posts

    Deployment howto Link to this post

    I wish to deploy my SiverStripe site to another LAMP server. How should this be done? My major concern is the database: which one(s) should I deploy?

    Thanks

  • willr
    avatar
    1310 posts

    Re: Deployment howto Link to this post

    If both servers are LAMP then its fairly simple and painless - well usually.

    - Setup and install SS on new Server to make sure it works and can connect to the DB.

    - Export the DB from the first server then import it into the second (PHPmyadmin makes this easy)

    - transfer any custom code, js, theme files across (usually you only need to make changes to mysite/code/ and themes/yourtheme so you can copy those across.

    - If you installed any modules copy those too..

    - Run yournewsite.com/db/build?flush=1 to see if anythings failed or not worked. There you should have it!

    We use SVN to manage files between servers and changes etc so its a great way to deploy project code etc.

  • DonL
    avatar
    Community Member
    9 posts

    Re: Deployment howto Link to this post

    I'm about to go through the process of moving from a local WAMP setup to a LAMP sever with an already established password for the database - where is the mysql connection info specified in SS so I can change it for the new location, and are there any other gotchas I can expect to run into when going from WAMP -> LAMP?

  • willr
    avatar
    1310 posts

    Re: Deployment howto Link to this post

    the main issue some times with WAMP->LAMP is windows MYSQL is not case sensitive and Linux's MySQL is not. So if you get table XXX doesn't exist this can be the cause.

    All the database details are kept in the mysite/_config.php file by default or you can use a environment file - http://doc.silverstripe.com/doku.php?id=environment-management

    430 Views
Page: 1
Go to Top

Currently Online: fishe, shingonoide

Welcome to our latest member: pureprop

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.