TASK_INDEX
UNPLANNED_TEST_TRACKING_MAINTENANCE_R1b
SandBox/S
SCS_PROJECT_BLOG_R0
ITERATION_01
PLATFORM_STANDARDS_GENERAL_R1
UNPLANNED_TEST_TRACKING_MAINTENANCE_R1b/ManualTests
SCS_MACHINE_SETUP_R1
Analysis
Overview
Sophie Community Server (SCS) is a community site project. In this task the goal is to design and implement a working community server.
Task requirements
Choose (buy) appropriate machine to handle the requirements.
Discuss technologies that will be used. Requirements for the Community Server:
- Bandwidth (this may be done in later revision)
- Services
- Wiki (we could use trac for this one)
- Bugtracker (discuss what we will use - trac, bugzilla, matis or other bug tracking solution.
- Probably Test Case System (TCW, should this one be on the SCS machine?)
- Probably mailing services?
- Probably setup a Subversion system. (in order to use cool trac features.)
Requirements to the task result
The result of this revision of the task should be a working community server (limited functionality).
Implementation idea
Server Setup:
- Setup needed services.
- Create user accounts.
- Design a backup solution (ex. script).
- Document Setup Instructions.
- Make some nice setup scripts.
Related
SCS_BACKUP_R0
SCS_WIKI_MAINTAINCE_R0
SCS_REPO_MIGRATE_R0
SCS_ISSUE_TRACKER_MAINTAINCE_R0
SCS_MAIL_LIST_R0
SCS_FORUM_R0
SCS_WIKI_SETUP_R0
How to demo
- Open http://asteasolutions.net:7080/Sophie2/
- Browse the Wiki pages.
- View the source code in the repository from http://asteasolutions.net:7080/sophie2/browser
- View issues from http://asteasolutions.net:7080/sophie2/report
- View the TCW server from http://asteasolutions.net/tcw/login.php
Design
Research
Choose a target computer. Install a unix-like operating system (ubuntu). See if apache, mysql, php and trac are installed. Download latest stable versions if missing.
locate trac locate apache locate mysql locate php5
http://httpd.apache.org/
http://www.mysql.com/
http://www.php.net/downloads.php
http://trac.edgewall.org/
Setup
Download and install missing apps. Enter /etc/apache2/sites-available and check for trac and tcw
cd /etc/apache2/sites-available ls | grep trac ls | grep tcw
Create them (see example in that folder) if they are absent and soft-link them in /etc/apache2/sites-enabled. Make sure apache is running
ps ax | grep apache ps ax | grep trac ps ax | grep tcw
See SCS_WIKI_SETUP_R0
SCS_ISSUE_TRACKER_SETUP_R0
SCS_TEST_TRACKING_SETUP_R0
for more detailed setup information of trac and tcw.
Extra setup
Redirect from asteasolutions.net to the local machine.
Implementation
- Existing OS is Ubuntu
- Trac v0.11 was installed on 'dan-server'(10.10.117.11 - this is a local IP) using the Trac Installation Guide from the Trac website. The Trac server is ran as a standalone server using:
tracd -p 8000 --auth=sophie2,/sophie-project/sophie2/conf/users.htdigest,sophie2 /sophie-project/sophie2/ # this line has been added to /etc/rc.local so the server can start automatically in case of natural disasters.
- Php5 ana Apache2 has been installed using "apt-get install". The server can be accessed locally from http://10.10.117.11:8000/ or remotely from http://asteasolutions.net:7080/
- The location of the trac environment for the Sophie2 project is located in the /sophie-project/sophie2 folder. The repository for the project is located in the /sophie-project/repo folder on the 'dan-server' computer.
- User authentication is added using an htdigest password file - dan-server:/sophie-project/sophie2/conf/users.htdigest. All developers have Trac accounts. See http://trac.edgewall.org/wiki/TracStandalone => How to set up an htdigest password file
- Wiki - see SCS_WIKI_SETUP_R0.
- Bugtracker - we'll use Trac's integrated issue tracker. See http://asteasolutions.net:7080/sophie2/wiki/TracTickets.
- Test Case System - see SCS_TEST_TRACKING_SETUP_R0.
- We are using google groups for mailing services. See SCS_MAIL_LIST_R0
- The repository can be accessed locally from svn://10.10.117.11/sophie2 or remotely from svn://asteasolutions.net:7369/sophie2.
- Backup - see SCS_BACKUP_R0
- Current address for external access is http://asteasolutions.net:7080/sophie2
Testing
Log
- Analyzing : Deyan (done: 35 min)
- Review: 3 by todor. Needs better how to demo section.
- Designing : Deyan
- Implementing : Pacitu (done: 4h)
- Review: 4 by Deyan (done: 20 min). Current setup is perfect for internal use. Probably later for external use should be set up another machine.
- Testing :
