Coder Social home page Coder Social logo

pawnee's Introduction

Screenshot

An Apache GUI for OSX.


Download

34Mb - Requires Mac OS 10.10

Features

Pawnee is a menubar utility designed to help you manage your local Apache installation.

Features are organised in panels:

Panel Description
PHP Detects installed PHP versions (with Homebrew) for easy switch
Virtual hosts View and edit configured virtual hosts
Modules Displays available and enabled Apache modules
Activity Shows server activity for easy debug

The application works with the /private/etc/apache2/httpd.conf file.

  • When this file is updated, the server will restart automatically
  • When editing the file for the first time, a backup will be made (/private/etc/apache2/httpd.pawnee-backup.conf)

Development installation

If you want to contribute, you should follow those steps to get started.

Installation steps

1. Install node.js and npm if needed

2. Install NW.js in /Applications if needed

3. Install Grunt if needed

4. Get the project and its dependencies

git clone https://github.com/johansatge/pawnee.git
npm install
cd pawnee/app && npm install

Development

Run the application:

grunt run

Build the application:

grunt build

Watch SASS files:

grunt sass

Changelog

Version Date Notes
1.0.0 February 12th, 2015 Initial version

License

This project is released under the MIT License.

Credits

pawnee's People

Contributors

johansatge avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pawnee's Issues

Updates checker

  • Add an item in the cog contextuel menu
  • Check to enable the feature
  • Display the last version in the panel footer

Pawnee and brew httpd

[Enhancement]
Just wondering whether we can customise the path to which .conf file Pawnee looks at and/or which apache install.

On my set up I use brew for everything and got rid of the built in apache then installed via brew: brew install httpd

I've tried a few things such as creating a symlink to the directory specified in the readme and got it almost working but i get halted with an apache error:
AH00534: httpd: Configuration error: More than one MPM loaded.

I know what you're thinking, don't use more than one MPM...
Well over to my httpd.conf..

#LoadModule mpm_event_module lib/httpd/modules/mod_mpm_event.so
LoadModule mpm_prefork_module lib/httpd/modules/mod_mpm_prefork.so
#LoadModule mpm_worker_module lib/httpd/modules/mod_mpm_worker.so

I can switch to another MPM and it works, but its unsupported by brew:

Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe.  Homebrew PHP does not support a thread-safe php binary. To use the PHP apache sapi please change your httpd config to use the prefork MPM
AH00013: Pre-configuration failed

I'm gonna try a few more things from source and see if I can fix it, unless anyone has any alternate ideas.

Thanks,

Callum

Server Error macOS Sierra

Hey There. Interested in this project, I tried to run it on my machine iMac with macOS Sierra and ran into the following error...

AH00557: httpd: apr_sockaddr_info_get() failed for Tylers-iMac.local
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
Syntax OK

Additionally, do you know how one would save the sudo password, so it does not need to be entered each time using the application? Im not well versed with apache, and only novice JS.

Cheers.

Right click in tray and quit

When I do right click on tray icon it become highlited but nothing happen:

screen shot 2015-03-01 at 14 57 50

Then if I do left click and click on window window disappear (when click on it)


Quit is hard to find, may be it should be a button near settings icon?

Overwrites httpd.conf with invalid path after brew fails

Love the concept!

Here is a bug I have found:
Checking configuration...
Server is running.
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using rooter.local. Set the 'ServerName' directive globally to suppress this message
Syntax OK

Setting php56...
/bin/sh: brew: command not found

Linking /usr/local/Cellar/php56/5.6.4...
Error: Could not symlink bin/pear
Target /usr/local/bin/pear
already exists. You may want to remove it:
rm '/usr/local/bin/pear'
To force the link and overwrite all conflicting files:
brew link --overwrite php56
To list all files that would be deleted:
brew link --overwrite --dry-run php56

Filechange detected.
Restarting server...
Checking configuration...
httpd: Syntax error on line 1 of /private/etc/apache2/httpd.conf: Cannot load /usr/local/opt/php56/libexec/apache2/libphp5.so into server: dlopen(/usr/local/opt/php56/libexec/apache2/libphp5.so, 10): image not found

Server is stopped.

Also, load module does not respect existing php module already in file.

Icon for dark menubar

I can't see app is launched before I turned off "Use dark menu bar and Dock" option into system general settings.

Please, provide an inverted (white) menubar icon version.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.