#samcms
Web-CMS for postgresql. Written in pgsql and C.
##Preparations of code in progress...
Please wait some time!
##How run? Now debugging code... Step by step
###Prepare
Add and edit to nginx config form ./samcms/tools/samcms-nginx
sudo cp ./tools/samcms-nginx /etc/nginx/sites-available/
sudo ln -s /etc/nginx/sites-available/samcms-nginx /etc/nginx/sites-enabled/
#nano /etc/nginx/sites-available/samcms-nginx
sudo nginx -t
service nginx restart
Install dependency packages (example tested only for kubuntu 14.10)
sudo apt-get install postgresql-9.4 postgresql-client-9.4 postgresql-contrib-9.4\
libpq-dev libfcgi0ldbl libfcgi-dev make gcc
###Run it! Goto repo root and compiling with Make
cd ./samcms
#make uninstall ; make clean ; make
make
For last step run in debug mode
./develop/usr/bin/samcms -n -a 127.0.0.1 -p 7777 -u www-data -g www-data \
-- ./develop/usr/bin/samcms-index -d samcms -u samcms -w samcms -a 127.0.0.1
And test with curl))
curl -v "http://127.0.0.1:7770/test?123"
###Not sure I remembered all the details - you can trying.
====