Giter Site home page Giter Site logo

webym's Introduction

Yahoo Messenger browser based chat

####This is a simplistic browser based Yahoo Messenger chat that uses bogcon/yahoo-messenger-api library.

Installation/Configuration

  1. Download source files
    • Using Git
git clone https://github.com/bogcon/webym.git
- Direct download of *.zip* archive from [here](https://github.com/bogcon/webym/archive/master.zip)  
  1. Install depedencies using Composer
    Then you can run the Composer install/update command from the root directory of the project (where composer.json file resides)
# download composer (skip the next command if you already have composer)
$ curl -sS https://getcomposer.org/installer | php

# install dependencies
$ php composer.phar install
$ php composer.phar update
  1. Copy webym/includes/config.local.php.dist to webym/includes/config.local.php and edit the last one with the API key and API secret obtained from Yahoo developer account after creating an application.

  2. Configure a (virtual) host for the project

Example of Local Apache Web Server Configuration

You now need to create an Apache virtual host for the application and edit your hosts file so that http://webym.dev will serve index.php from the webym/public directory.

Setting up the virtual host is usually done within `httpd.conf` or `extra/httpd-vhosts.conf`. If you are using `httpd-vhosts.conf`, ensure that this file is included by your main `httpd.conf` file.  

Some Linux distributions (ex: Ubuntu) package Apache so that configuration files are stored in /etc/apache2 and create one file per virtual host inside folder /etc/apache2/sites-enabled. In this case, you would place the virtual host block below into the file /etc/apache2/sites-enabled/webym.dev.conf, also you should copy the file or create a symlink into /etc/apache2/sites-available/webym.dev.conf (ln -s /etc/apache2/sites-enabled/webym.dev.conf /etc/apache2/sites-available/webym.dev.conf)

Ensure that `NameVirtualHost` is defined and set to `*:80` or similar, and then define a virtual host along these lines:  

    <VirtualHost *:80>
            ServerName webym.dev
            ServerAlias www.webym.dev
            DocumentRoot /path/to/webym/public
            <Directory /path/to/webym/public>
                DirectoryIndex index.php
                AllowOverride All
                Order allow,deny
                Allow from all
            </Directory>
    </VirtualHost>  

Make sure that you add the following line to your `/etc/hosts` or `C:\Windows\System32\drivers\etc\hosts` file so that `webym.dev` is mapped to `127.0.0.1`.  

    127.0.0.1   webym.dev www.webym.dev  
After restarting apache, the website can then be accessed using `http://webym.dev` or `http://www.webym.dev`.

License

webym is released under the New BSD License which is the 3-clause BSD license.
You can find a copy of this license in LICENSE.txt.

Screenshots

login window
buddies list

webym's People

Contributors

bogcon avatar

Watchers

 avatar James Cloos avatar

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.