alan

Local Mac dev with clamp not mamp

2 posts in this topic

I've been using clamp http://jide.github.io/clamp/ for a while now, rather than installing MAMP or MAMP PRO.

Like MAMP, it delivers Apache, MySQL (via MariaDB), and PHP.

Unlike MAMP it runs from the command line (the 'c' in clamp).

Also unlike MAMP, all settings and data (database), sit alongside the website files in a .clamp folder (you need to add this to .gitignore to stop dev environment leaking into production).

Apart from being free, it's just brilliant to use.

If you get errors or stuck, check the logs, the docs are brief but excellent.

Enjoy!

5 people like this

Share this post


Link to post
Share on other sites

Look like i am going to love it and its a french who made it!

Will give a try soon, thanks for this post @alan

1 person likes this

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Cole
      Long time listener, first time caller...

      I have been working with ProcessWire for some time now and it has been amazing, my go to CMS. Previously my workflow had a local development setup through MAMP using an address like http://localhost:8888/websites/example.com.
      I have recently changed this in preference of  http://dev.example.com, that way I do not need to disable the .htaccess forward from non-www to www to develop locally. My .htaccess forward is setup like:

        RewriteCond %{HTTP_HOST} !^dev\. [NC]
        RewriteCond %{HTTP_HOST} !^www\. [NC]
        RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
      This works on all sites that are still using ProcessWire 2.5, however on sites using 2.8 and 3.0 I am getting a 403 Forbidden error. After reading through the forum posts related to 403 errors I have not been successful in finding a solution for my issue. Has anyone experienced this or can assist? Thank you very much in advance, the forum community has been so helpful I have never needed to post until now.
    • By fryk
      Hallo,
      I use Processwire for a few months now. And I was really happy with it. Now, I have a problem that might be related to Processwire - or not. I hope someone can give me a hint.
      My problem is this: Accessing my Processwire website is really slow on a ("local") XAMPP installation. Frontend as well as backend.
      The situation: I used Processwire 3.0.42 / XAMPP for Windows 5.6.28-1 on my local PC to make a website. All worked fine. Then I moved my htdocs and mysql Database to a NAS (changed the mysql.ini / httpd.conf files), so my co-worker could access the files, too. From that point, processwire takes about 5 seconds, until a page starts to load. With plain HTML/PHP websites this problem doesn't seem to occur. I made a new Processwire Installation, but that did not change anything.
      mysql shows no errors. Apache shows a few notices and warnings, mostly:
      AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
      AH00354: Child: Starting 150 worker threads.
      Does anyone have the same problem, an idea what I could try to do, or even better, a solution? I really wonder why that is ... 
      Thanks a lot!
    • By franciccio-ITALIANO
      Hello, when I go in library I haven't internet, but I write and riediting my articles on my blog always.
      So, I before write on .doc, and after I move all on blog, at home where I have internet.
      My question is: There is a way to write my article directly on a copy of the blog on LOCAL, on PC, and after, for example after a week, to copy an move all my news articles online? 
      How install pocesswire on local? Can I to cat-and copy articles offline-online?


      NB. Excuse me for the language incorrect but i hope I explain my question.
    • By oma
      Hi folks,

      I am using AJAX on a site I am building, specifically PJAX, and I have built all this locally and it has all been working great with no problems. Upon pushing this from local to remote the AJAX is failing to retrieve my pages, and thus falling back to the normal page loading.

      I have had a look at the Network tab in Google devtools to find out more and it looks like the request goes through but the PJAX url call (for example: http://www.juleslister.co.uk/projects/photography?_pjax=%23pjax) is returning as a 301 error. I have a screenshot of the Network issue here: http://i.imgur.com/oC2ZPce.png

      Any thoughts?

      Many thanks,
      R
    • By oma
      Hi folks,
      I have a bit of an odd question, but I'm assuming it's related to something I have/haven't changed upon moving my local build to a live server. Everything, locally, works 100% and I have encountered no problems at all, but sometimes, when logging into the admin, the stylesheets/js will break and I'll get a broken page (see image below) – sometimes it happens, sometimes not and the page it happens on varies as well. The thing is, once it's happened, I can't return to the unbroken site until I save over the config.php file. Or, after a few refreshes it returns back. Odd, right?
      Looking in the error console on devtools, it states:
      Uncaught ReferenceError: $ is not defined sheffieldculture.co.uk.s141188.gridserver.com/:205 Uncaught ReferenceError: initPageEditForm is not defined  This makes me think that the jQuery is failing to load...
      Any thoughts/similar issues?