Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

What's the best way to set up an experimental development environment?


Go to End


3 Posts   637 Views

Avatar
dufus

Community Member, 4 Posts

5 December 2014 at 2:58pm

I just started using Silverstripe. It is pretty cool. I want to start experimenting with the PHP and css and stuff, but not upload the changes to the website until I'm ready. What is the preferred way of doing this? It'd be kind of like a mirror website but with access to the same database.

So what do you all do? Copy everything to a second directory and open up a second web server through a different port or something?

Avatar
dave.m

Community Member, 19 Posts

9 December 2014 at 7:56pm

A couple of ways, you could use a solution like MAMP or WAMP if wanting to develop locally or use a Vagrant based environment.
Personally I use the Laravel solution called Homestead and just customise the nginx host files a bit, works very well. Im sure you could find a Vagrant box specifically for SilverStripe as its quite a common setup.

HTH

Avatar
dave.m

Community Member, 19 Posts

10 December 2014 at 1:32pm

The Australian SilverStripe guys have this in their GitHub account too...
https://github.com/silverstripe-australia/vagrant-environment