https://github.com/matiu2/footprint/tree/master/lib/wittyPlus
witty-plus lets you build c++ web apps.
Demo: http://barcamp.supa.ws - username: admin password: admin
It builds on top of http://webtoolkit.eu to provide you with user management and authentication.
It provides a library and a base app, that you can just search and replace 'my_app' with 'whatever your app is called'.
That way when you want to start a new app, you have a quick starting point :D
sudo apt-get update
sudo apt-get install postgresql libwt-dev libwtdbopostgres-dev cmake build-essential cmake-curses-gui git
sudo apt-get build-dep libwt-dev libwtdbopostgres-dev
cd
mkdir projects
cd projects
git clone http://www.webtoolkit.eu/git/wt.git
git clone git://github.com/matiu2/witty-plus.git
cd wt
patch -p1 < ../witty-plus/wt.patch
mkdir build
cd build
cmake ..
# optionaly configure with: ccmake ..
make
sudo make install
cd ../../witty-plus/base-app
mkdir build
cd build
cmake ..
# optionaly configure with: ccmake ..
make -j 2
sudo su postgres
createuser my_app
createdb my_app
psql my_app
grant all on database my_app to my_app;
alter user my_app password 'my_app';
\q
exit
./setup
sh run.sh
/usr/bin/chromium-browser http://localhost:8000