triggercode / mamp-cli Goto Github PK
View Code? Open in Web Editor NEWCommand line interface to work with the popular MAMP server environment
License: MIT License
Command line interface to work with the popular MAMP server environment
License: MIT License
Hello,
I use MAMP (free) and I often update httpd.conf and find it time consuming to stop mamp servers then start them again,
it'd be great if we could run the command apachectl -k graceful
or at least run mamp restart
Thanks :)
It would be really handy if we could switch directly to a directory instead of having to add every path we want to use as a favorite. For example:
mamp switch /path/to/webroot/directory
see #3
_First off, this looks amazing. I hate having to use the MAMP GUI every time and the fact you've built in the mamp switch <shortcut>
command is amazing, as I have a slightly unorthodox setup as I'm using two mac accounts. So I'm keen to get it working.
Each time I want to start MAMP I normally manually change my webroot using the MAMP GUI, depending on which account I'm logged into, then I start MAMP and it works fine._
So I thought I'd take this for a spin - I just installed mamp-cli
and everything seemed to install okay. I've setup a <shortcut>
which also has been added to the mamp list
and when I run mamp switch <shortcut>
I can see it switch correctly when I open the GUI.
When I run mamp stop
the server stops fine when I check on the GUI (interestingly only apache not mysql, which I don't use much anyway).
But sadly, the most important command mamp start
doesn't start apache :(
(It also doesn't ask me for the administrator password. Doesn't it need to do this for security and to actually complete the action?)
It's still working if I use the GUI and hit the Start Servers button, and asks for the password as normal.
Many thanks in advance
(p.s: my server knowledge is very basic, so please bear with me)
Mac OSX 10.11
MAMP v3.3
Hey, I've been using this package for a few weeks now, and it's great. My only complaint is that I can't use it on my Windows machines; do you think you could add support for Windows?
Thanks!
Hi, using mamp start
only fires up the mysql server, not the apache. Am I doing something wrong?
Might be my MAMP version.. 4.2.1
Shalom!
I see mamp-cli does nothing on my computer. say its started but its not functional. maybe because its Nginx by default?
Environment | Version |
---|---|
OS | OSX |
Node | 9.2.0 |
NPM | 5.6.0 |
MAMP | 4.2 using NGINX |
mySQL | 5.6.35 |
php | 7.1.7 |
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.