Skip to content
André Veríssimo edited this page Jul 19, 2016 · 3 revisions

Welcome to the YakYak wiki!

Installation

Please see the read me.

Linux

Add to Application Menu

To have the program auto start add a ".desktop" file like the to your ~/.config/autostart directory. You can make one like the following and place it in /usr/share/applications to have it show up in your "desktop environment" menus (Gnome, Unity, KDE).

/usr/share/applications/YakYak.desktop

#!/usr/bin/env xdg-open

[Desktop Entry]
Name=YakYak

Add
GenericName=YakYak
Comment=Electron App from git
Path=/home/my-username/git/third-party/yakyak/
Exec=electron app
Terminal=false
Type=Application
X-GNOME-Autostart-enabled=true
Icon=/home/my-username/git/third-party/yakyak/src/icons/atom.icns
Name[en_US]=YakYak

Auto Start

To have it auto start when you log in run

cd ~/.config/autostart/
ln -s /usr/share/applications/YakYak.desktop

Developers

Debugging

UI / Frontend

  • Open the main window
  • Click on YakYak menu item
  • Click on Inspector

Debug as a web page in chrome by: introducing breakpoints in the code, console.log and alert("some relevant message")

Server Side

  • Start by running YakYak via command line (see below)
  • Add verbose messages and log it to the console with console.log

Windows press Windows+R and then type cmd then press enter. Then navigate using the cd command (ex. cd C:/Users/yourname/Downloads/YakYak), and start yakyak with yakyak.exe.

Linux open the terminal, depending on your operating system, usually ctr+alt+t and then using the cd command (ex. cd /home/yourname/Downloads/YakYak), and start YakYak with the ./yakyak command.

If you are running a developer version, run npm run electron app