An Open Source Social Network. Available @ http://open.subinsb.com Feel free to contribute and please report bugs if you find any.
If you need help, documentation and other info about Open, please see our blog : http://open.subinsb.com/blog
Note that the blog folder is not included in source code. The blog is ran using Wordpress.
The folder "cron" contains the CRON job files. Open the .php file in "cron" folder for more details.
Here is a simple tutorial on how to run Open on a Linux Apache Web Server.
- Install Git by Running the following commands
sudo apt-get update && sudo apt-get install git
- CD (Change Directory) to the Apache directory by running
cd /var/www/
in Apache Server versions 2.5 and above, the folder is /var/www/html
instead of /var/www
- Now do this to pull the source code from GitHub to the folder "open" in /var/www
git clone https://github.com/subins2000/open.git open
Now open's files will be in the `/var/www/open` directory
-
Using Replacing Softwares like (http://regexxer.sourceforge.net/)[regexxer], replace the string
open.subinsb.com
withlocalhost/open
on the directory where you cloned the open repository. Also, there might be URL strings likeopen\.subinsb\.com
in certain files which won't be covered with this replacing. An example iscdn/js/main.js
file onopen.externalLinks
function. -
Create a MySQL database named "open"
-
Execute The SQL Code in the file tables.sql
-
Open file
config.php
of Open root directory and set the Database credentials. -
Go To http://localhost/open to see Open live in action
jQuery
The @Mentions have been implemented on Open by using jQuery sMention Plugin
PHP OAuth Class. Thanks Manuel Lemos.
Resize image class
Pass "?show_errors=1" with the URL to see the errors, warnings omitted by PHP. Example : http://open.subinsb.com/?show_errors=1