هل تود المساهمة في مقولة؟
هل تود المشاركة في تطوير مقولة؟
إذن ها هي بعض النصائح لتنصيب مقولة على جهازك:
ستحتاج لتنصيب MacPorts
cd ~/.ssh ssh-keygen -t dsa -f ~/.ssh/maqolah_id_idsa
ssh -i ~/.ssh/maqolah_id_idsa gitolite@git.freesoft.jo ssh-add ~/.ssh/maqolah_id_idsa
sudo port install postgresql90 php5-memcache php5-postgresql php5-gd php5-mbstring git-core
cd ~/Sites/ git clone gitolite@git.freesoft.jo:maqola.git
قم بإعداد قاعدة البيانات:
mkdir ~/Sites/PostGresDBs/ initdb -D ~/Sites/PostGresDBs/ pg_ctl -D ~/Sites/PostGresDBs -l logfile start createdb maqola createuser postgres -s createuser maqola -S -R -D psql -h localhost -U maqola maqola < ~/Sites/maqola/docs/maqola.dump.sql
mkdir ~/Sites/maqola/webapp/protected/runtime mkdir ~/Sites/maqola/webapp/assets sudo chown _www ~/Sites/maqola/webapp/protected/runtime ~/Sites/maqola/webapp/assets
sudo /opt/local/apache2/bin/apxs -a -e -n "php5" libphp5.so sudo cat >> /opt/local/apache2/conf/httpd.conf << EOF Include conf/extra/mod_php.conf Include conf/extra/httpd-maqola.conf EOF sudo cat > /opt/local/apache2/conf/extra/httpd-maqola.conf << EOF UserDir Sites DocumentRoot /Users/mohammed/Sites <Directory "/Users/mohammed/Sites"> AllowOverride All DirectoryIndex index.php index.html Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec <Limit GET POST OPTIONS> Order allow,deny Allow from all </Limit> <LimitExcept GET POST OPTIONS> Order deny,allow Deny from all </LimitExcept> </Directory> EOF
sudo ex /opt/local/etc/php5/php.ini << EOF :%s/^short_open_tag = Off/short_open_tag = On/g :wq EOF
memcached -d sudo apachectl restart
http://127.0.0.1/~mohammed/maqola/webapp/site/index?tag=13