Proof-of-concept Facebook clone in C. The only dependency is SQLite3.
OS: Ubuntu
Install following package:
- build-essential
- make
- libsqlite3-dev
- sqlite3
sudo apt-get update
sudo apt-get install -yq build-essential make libsqlite3-dev sqlite3
Note: When you launch a container using ubuntu image from the repository, it may not have sudoers installed. Also, you would be a root user inside the container. In such case, remove sudo and execute rest of the command.
Using git, clone the repository with the URL above. Repository contains the source files written in C, along with a Makefile with targets such as "all", "run". Destination path should be /opt/facebooc. Run the following command to compile the source code.make all
cd facebooc
make all
Launch app as bin/facebooc This will attach to port 16000
cd facebooc
bin/facebooc
Facebooc
is freely redistributable under the two-clause BSD License.
Use of this source code is governed by a BSD-style license that can be found
in the LICENSE
file.