Dev-tt setup
cd ~/ mkdir tt-dev svn co http://dev.taptinder.org/svn/taptinder/trunk/ tt-dev cd tt-dev # configure client mkdir client-data cp client-conf/client-conf.yml.example client-conf/client-conf.yml vi client-conf/client-conf.yml # user some machine defined inside 'server/sql/data-dev.sql', e.g. "machine_id: 7" # use e.g. "taptinderserv: http://tapir2.ro.vutbr.cz:3000/" cd ~/tt-dev/server/ cp conf/web_db.yml.example conf/web_db.yml vi conf/web_db.yml cp conf/web_project.yml.example conf/web_project.yml vi conf/web_project.yml cp conf/web.yml.example conf/web.yml vi conf/web.yml # choose you tmp dirs and create them with mkdir cp root/lib/config/main.example root/lib/config/main vi root/lib/config/main # Create directory "/home/jurosz/" for command outputs. # You should use another one, if you also edit 'server/sql/data-dev.sql' mkdir /home/jurosz/dev-tt/server-data/ mkdir /home/jurosz/dev-tt/server-data/cmdout mkdir /home/jurosz/dev-tt/server-data/patch utils/clear-dev-db.sh utils/clear-dev-db.sh 0 0 # start server cd ~/tt-dev/server/ utils/start-server-dev.sh utils/start-server-dev.sh 1 # start client cd ~/tt-dev/client/ ./ttclient-start.sh # start server repository scan cd ~/tt-dev/server/ cd cron ./loop.sh
Start/stop server and client.
# Start your dev server ( default on http://tapir2.ro.vutbr.cz:3000/ ). clear && cd ~/dev-tt/server && utils/clear-dev-db.sh 0 0 && utils/start-server-dev.sh 1 # Start your dev client. # Press p to pause, c to continue, q to quit. clear && cd ~/dev-tt/client && ./ttclient-start.sh

