![]() You can also configure each command and their options : "Įverything is self-contained in a. To copy the default configuration file in the current directory, use clamp config write. It uses a few tricks that make it very flexible. ![]() All the parameters are built using this file and then passed to the different commands. $ clamp config write // Writes the default clamp.json file in the current folder.Īll configuration resides in a clamp.json file. ![]() $ clamp mysql create-db // Create a database. $ clamp mysql daemon stop // Stop mysql daemon. $ clamp mysql daemon start // Start mysql daemon. $ clamp mysql stop // Shortcut for mysql daemon stop. ![]() $ clamp mysql start // Install database, start daemon and create db. All commands $ clamp apache start // Start apache. Sequel pro is a great app for managing your databases. You can connect to MySQL through localhost:3306 with user "root" and a blank password. You can customize these settings using the configuration file. htaccess file : Order allow,denyīy default, this will start apache, create a database named "db", start MySQL daemon and set the host as "localhost". Since in Yosemite Apache version is 2.4, you may have to correct your. It is absolutely not secure for anything else. ![]() It should only be used for local development. Configuration is done using a clamp.json JSON file.System-wide configuration remains unchanged.Uses system's Apache and PHP, and MariaDB using homebrew.Automatically creates a host and a database.It aims at being ultra simple to use and configure. View the Project on GitHub Welcome to ClampĬlamp is a Command Line Apache MySQL PHP for Mac OS X made for local development. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |