From 5cfac60d04944b5b25e59fe09e9e06f6efeb386c Mon Sep 17 00:00:00 2001 From: priyankabhagwat Date: Thu, 18 May 2017 17:23:42 +0530 Subject: Directory structure change and various edits --- CFD/casestudy-dev-doc.rst | 172 +++++++++++++++++++-- CFD/media/CT-proposal.png | Bin 0 -> 84571 bytes CFD/media/CT-submission.png | Bin 0 -> 39003 bytes CFD/media/after-code-sub.png | Bin 0 -> 107390 bytes CFD/media/code-submission.png | Bin 0 -> 123123 bytes CFD/media/competed-cs.png | Bin 0 -> 130202 bytes CFD/media/in-progress.png | Bin 0 -> 110175 bytes CFD/media/manage-code.png | Bin 0 -> 103046 bytes CFD/media/manage-proposal.png | Bin 0 -> 104625 bytes CFD/media/personaldetailsFC.png | Bin 0 -> 39368 bytes Critical-analysis-FOSSEE-websites.rst | 115 -------------- Drupal6-Drupal7-upgrade-process.rst | 158 ------------------- Drupal7-site-setup.rst | 46 ------ General/Critical-analysis-FOSSEE-websites.rst | 115 ++++++++++++++ General/Drupal6-Drupal7-upgrade-process.rst | 158 +++++++++++++++++++ General/Drupal7-site-setup.rst | 46 ++++++ .../Instruction-Sheet-develop-deploy-website.rst | 122 +++++++++++++++ Instruction-Sheet-develop-deploy-website.rst | 122 --------------- Scilab/media/TBCAdmin.jpg | Bin 0 -> 99645 bytes Scilab/media/TBCAdmin.png | Bin 152811 -> 0 bytes Scilab/media/TBCER.jpg | Bin 0 -> 68808 bytes Scilab/media/TBCER.png | Bin 105990 -> 0 bytes 22 files changed, 600 insertions(+), 454 deletions(-) create mode 100644 CFD/media/CT-proposal.png create mode 100644 CFD/media/CT-submission.png create mode 100644 CFD/media/after-code-sub.png create mode 100644 CFD/media/code-submission.png create mode 100644 CFD/media/competed-cs.png create mode 100644 CFD/media/in-progress.png create mode 100644 CFD/media/manage-code.png create mode 100644 CFD/media/manage-proposal.png create mode 100644 CFD/media/personaldetailsFC.png delete mode 100644 Critical-analysis-FOSSEE-websites.rst delete mode 100644 Drupal6-Drupal7-upgrade-process.rst delete mode 100644 Drupal7-site-setup.rst create mode 100644 General/Critical-analysis-FOSSEE-websites.rst create mode 100644 General/Drupal6-Drupal7-upgrade-process.rst create mode 100644 General/Drupal7-site-setup.rst create mode 100644 General/Instruction-Sheet-develop-deploy-website.rst delete mode 100644 Instruction-Sheet-develop-deploy-website.rst create mode 100644 Scilab/media/TBCAdmin.jpg delete mode 100644 Scilab/media/TBCAdmin.png create mode 100644 Scilab/media/TBCER.jpg delete mode 100644 Scilab/media/TBCER.png diff --git a/CFD/casestudy-dev-doc.rst b/CFD/casestudy-dev-doc.rst index d510d2b..feefc9f 100644 --- a/CFD/casestudy-dev-doc.rst +++ b/CFD/casestudy-dev-doc.rst @@ -62,10 +62,12 @@ Field Conditional State SMTP Authentication Support -**Structure-> Field collection-> Field collection -field\_personal\_details** -|image0| +**Structure-> Field collection-> Field collection field\_personal\_details** +**Create-> Content Types -> Case Study Proposal** + +|image111| + **Create-> Content Types -> Case Study Proposal** @@ -93,7 +95,10 @@ accepted. |image2| -**Views** + +**View** + +**Structure -> Views ->Case Study** 1. **Manage Proposal.** @@ -114,16 +119,157 @@ accepted. |image3| -.. |image0| image:: media/image8.png - :width: 6.26772in - :height: 2.51389in -.. |image1| image:: media/image5.png +2. **In Progress** + + **Purpose-** This page displays the case studies in progress. The + Proposals that are approved but not competed. + + **URL-** + `*http://cfd.fossee.in/case-study/cs-in-progress* `__ + + **Roles-** All + + Description + +- The display is in the table format + +- The view is filtered by the criteria - + + - Case study proposal + + - Content is published + + - Proposal Status + +|image4| + +3. **Code Submission** + + **Purpose-** This is the interface where the user can submit the + codes once the proposal is accepted + + **URL-** + `*http://cfd.fossee.in/case-study/cs-code-submission* `__ + + **Roles-** All + + Description + +- The display is in the table format + +- The view is filtered by the criteria - + + - Case study proposal + + - Content is published + + - Proposal Status + +|image5| + +4. **Manage code** + + **Purpose-** This is the admin interface for the reviewer to + accept/reject the case study codes are submitted. + + **URL-** + `*http://cfd.fossee.in/case-study/cs-manage-code* `__ + + **Roles-** Administrator, Case Study Reviewer + + Description + +- The display is in the table format + +- The view is filtered by the criteria - + + - Case study proposal + + - Content is published + + - Proposal Status + +|image6| + +5. **Completed Case Studies** + + **Purpose-** This is the admin interface for the reviewer to + accept/reject the case study codes are submitted. + + **URL-** + `*http://cfd.fossee.in/case-study/cs-code-submission* `__ + + **Roles-** Administrator, Case Study Reviewer + + Description + +- The display is in the table format + +- The view is filtered by the criteria - + + - Case study proposal + + - Content is published + + - Proposal Status + +|image7| + +6. **Attachment- After code submission** + + **Purpose-** This is the admin interface for the reviewer to + accept/reject the case study codes are submitted. + + **URL-** + `*http://cfd.fossee.in/case-study/cs-code-submission* `__ + + **Roles-** Administrator, Case Study Reviewer + + Description + +- The display is in the table format + +- The view is filtered by the criteria - + + - Case study proposal + + - Content is published + + - Proposal Status + +|image8| + +**Configuration -> Workflow -> Rules** + +The Rules module allows site administrators to define conditionally +executed actions based on occurring events + +On approval CS + +.. |image111| image:: media/personaldetailsFC.png + :width: 6.65104in + :height: 2.37500in +.. |image1| image:: media/CT-proposal.png :width: 6.71875in :height: 5.14063in -.. |image2| image:: media/image3.png +.. |image2| image:: media/CT-submission.png :width: 6.27083in :height: 2.38021in -.. |image3| image:: media/image7.png - :width: 6.84375in - :height: 4.31771in - +.. |image3| image:: media/manage-proposal.png + :width: 6.91146in + :height: 3.77083in +.. |image4| image:: media/in-progress.png + :width: 6.96354in + :height: 3.97917in +.. |image5| image:: media/code-submission.png + :width: 6.95313in + :height: 4.10417in +.. |image6| image:: media/manage-code.png + :width: 6.80729in + :height: 3.98958in +.. |image7| image:: media/competed-cs.png + :width: 6.86979in + :height: 4.19792in +.. |image8| image:: media/after-code-sub.png + :width: 6.26772in + :height: 2.90278in diff --git a/CFD/media/CT-proposal.png b/CFD/media/CT-proposal.png new file mode 100644 index 0000000..75002eb Binary files /dev/null and b/CFD/media/CT-proposal.png differ diff --git a/CFD/media/CT-submission.png b/CFD/media/CT-submission.png new file mode 100644 index 0000000..9f0a7e4 Binary files /dev/null and b/CFD/media/CT-submission.png differ diff --git a/CFD/media/after-code-sub.png b/CFD/media/after-code-sub.png new file mode 100644 index 0000000..65c7b77 Binary files /dev/null and b/CFD/media/after-code-sub.png differ diff --git a/CFD/media/code-submission.png b/CFD/media/code-submission.png new file mode 100644 index 0000000..740420e Binary files /dev/null and b/CFD/media/code-submission.png differ diff --git a/CFD/media/competed-cs.png b/CFD/media/competed-cs.png new file mode 100644 index 0000000..cccecb4 Binary files /dev/null and b/CFD/media/competed-cs.png differ diff --git a/CFD/media/in-progress.png b/CFD/media/in-progress.png new file mode 100644 index 0000000..cf85a2e Binary files /dev/null and b/CFD/media/in-progress.png differ diff --git a/CFD/media/manage-code.png b/CFD/media/manage-code.png new file mode 100644 index 0000000..747b83d Binary files /dev/null and b/CFD/media/manage-code.png differ diff --git a/CFD/media/manage-proposal.png b/CFD/media/manage-proposal.png new file mode 100644 index 0000000..1b2563c Binary files /dev/null and b/CFD/media/manage-proposal.png differ diff --git a/CFD/media/personaldetailsFC.png b/CFD/media/personaldetailsFC.png new file mode 100644 index 0000000..897a3bc Binary files /dev/null and b/CFD/media/personaldetailsFC.png differ diff --git a/Critical-analysis-FOSSEE-websites.rst b/Critical-analysis-FOSSEE-websites.rst deleted file mode 100644 index dc8e2a6..0000000 --- a/Critical-analysis-FOSSEE-websites.rst +++ /dev/null @@ -1,115 +0,0 @@ -Document Information -==================== - -Name of the Document: Critical Analysis of FOSSEE Websites - -Date: 4/05/2017 - -Author: Priyanka Bhagwat - -Designation: Software Engineer - -Introduction -============ - -This document aims to identify website features/modules that should be -removed/improve and identifying bugs - -Assumptions -=========== - -It is assumed that the readers of this document are familiar with the -Drupal 7, PHP, MySQL and software engineering. It is also assumed that -the required resources will be available to achieve the objectives of -the plan. - -Common Suggestions for all the websites -======================================= - -Centralised login ( if possible) - -Search Engine Optimisation - -Standardise menu names and URL’s throughout all websites. - -Database structure to be standardized across all websites. - -Scilab Website -============== - -+-------+---------------------+ -| URL | http://scilab.in/ | -+=======+=====================+ -+-------+---------------------+ - -1. General Comments - - a. Reduce content on website. Too much content on the site makes it - look bulky and hence many times other lightweight themes - cannot be implemented. Even too many links on the site. We can - come up with better way to display side navigations, Few - examples at - `*https://dcrazed.com/jquery-navigation-plugins-menus/* `__ - - `*http://cssmenumaker.com/menu/modern-accordion-menu#* `__ - - b. Git implementation to be done. Currently the completed books are save - on the server and its entry in database. On completed book - checkbox selection the files should be automatically be pushed to - GIT repo. - -2. Apache Solr Search - - a. New searching techniques to be implemented. - - `*https://wunder.io/blog/build-advanced-content-listings-with-apache-solr-search-api-facet-api/2012-04-20* `__ - - b. Result display of search can be improved. - - c. Sometimes cannot handle search limit, throws Indexoutofbound() - exception. - -3. Textbook Companion/Lab Migration - - a. User dashboard according to each role - - b. Improve mail functions. - - c. The overall way how the data is displayed can be improved. Can use - flat UI. - - `*http://bootsnipp.com/snippets/W7gNz* `__ - - d. Payment interface to be tested. - -4. Scilab Toolbox Interface - - a. Currently, this content is added as static HTML. An interface to - be developed which will take data as input and render it to - the decided format. The parameters to be given by scilab team. - -5. Scilab on cloud - - a. Currently the Categories loaded are written static. For future - scope this should also be loaded dynamically from the - database. - -FOSSEE Website -============== - -+-------+---------------------+ -| URL | http://fossee.in/ | -+=======+=====================+ -+-------+---------------------+ - -1. Statistics Module - - a. The overall code written needs to be simplified and an standard - way to add new projects needs to be implemented. Currently the - process is quite complicated. - -2. Inventory System - - a. We can add inventory system to the site where the office staff can - add details of hardwares and other stationery and can assign - to the FOSSEE Employees. diff --git a/Drupal6-Drupal7-upgrade-process.rst b/Drupal6-Drupal7-upgrade-process.rst deleted file mode 100644 index 51da149..0000000 --- a/Drupal6-Drupal7-upgrade-process.rst +++ /dev/null @@ -1,158 +0,0 @@ -**Process to upgrade from drupal 6 to drupal 7** - - -Document Information -==================== - -Name of the Document: Drupal 6 to Drupal 7 Upgradation process - -Date: 5/04/2015 - -Author: Priyanka Bhagwat and Prashant Sinalakar - - -**step 1:** - -**take a backup of your drupal site and database** - -**step 2:** - -**Login as superuser/first user and disable all custom modules and -custom theme of drupal 6 site.** - -**step 3:** - - 1) **Install drush into your system** - - sudo apt-get install drush - - 2) **Download latest version of drupal** - - drush dl drupal-7 - - 3) **Connect your existing drupal 6 database with new drupal 7** (make - changes in setting.php of drupal 7 to connect with old database) - - 4) **Go to project directory then run** - - drush updb - - 5) **Login in to drupal 7 as first user** - - 6) **move all old site data to new drupal 7 expect theme** - - 7) **remove modulename\_bck modules** - - 8) **update all modules using** - - drush dl -y acl references author\_pane ckeditor votingapi views ctools - references xmlsitemap webform advanced\_forum captcha cck ckeditor - comment\_notify email\_verify extlink feedback fivestar formblock - google\_analytics jquery\_ui jquery\_update link linkchecker masquerade - mimemail nice\_menus notify recaptcha spambot views - - drush dl -y views date easy\_social captcha cck email\_verify sharethis - socila\_share wysiwyg google\_analytics jquery\_ui link masquerade - recaptcha - - 9) enable all necessary modules - - drush en module\_name - - drush updb - - if any error in webform take out webform form modules then, - - **drush updb** - - **drush command to update all modules without updating the core.** - - drush upc --no-core - -**step 4:** - 1) drush dl drupal-7 - - 2) make settings.php - - 3) connect with old db then, go to project dir run - - # references, link - - 4) drush updb - - 5) login to first user and mv all old sites data to new d7 except theme,remove modulename\_bck modules, them update all modules using - - drush dl -y acl references author\_pane ckeditor votingapi views ctools - references xmlsitemap webform advanced\_forum captcha cck ckeditor - comment\_notify email\_verify extlink feedback fivestar formblock - google\_analytics jquery\_ui jquery\_update link linkchecker masquerade - mimemail nice\_menus notify recaptcha spambot views - - ## acl references views ctools references webform cck link views - - 6) enable all necessary modules - - 7) drush updb - - 8) if any error in webform take out webform form modules then, - - drush updb - - node\_access => references - -**step 5:** - - Scilink Query - Only for Scilab Website - - content type => Documentation Page - - select \* from content\_field\_link where nid in (SELECT nid FROM - \`content\_type\_link\` where \`field\_parent\_page\_nid\`=118) - -**Important** - - 1) **changed query structure..** - - 2) **theme\_table must be replaced to ‘Section title.. -===============theme(“”, “”, array =()) ** - -***Error and solution :*** - - **If you get error like following: ** - - **“Undefined index: distribution\_name in - drupal\_install\_profile\_distribution\_name() (line 207 of - /var/www/html/drupal-7.37/includes/install.inc “** - - **Then run following query in database** - - `***UPDATE*** `__ - `***system*** `__ - **`*SET* `__ - status=1 WHERE name='standard';** - - **This will resolve profile error** - - **While going for changing query of theme** - - theme('table', array('header' => $pending\_header, 'rows' => - $pending\_rows )); - - solve error of mail sending: email.inc change following line - - change - - **$language-language** replace with **array('language' => - $language->language)** - - **$message['body'] = t('…...’);** replace with **$message['body'] = - array('body' => t('…….));** - - **Error:** *Notice*: Undefined index: distribution\_name in - *drupal\_install\_profile\_distribution\_name()* (line *207* of - */var/www/html/cfd\_fossee\_in\_7/includes/install.inc*). - - FIX this: - - UPDATE \`drupal\`.\`system\` SET \`status\` = '1' WHERE - \`system\`.\`filename\` = 'profiles/standard/standard.profile'; diff --git a/Drupal7-site-setup.rst b/Drupal7-site-setup.rst deleted file mode 100644 index d2b789b..0000000 --- a/Drupal7-site-setup.rst +++ /dev/null @@ -1,46 +0,0 @@ -**Drupal 7 Site Setup** - -Document Information -==================== - -Name of the Document: Drupal 7 Site Setup - -Date: 5/04/2015 - -Author: Priyanka Bhagwat and Prashant Sinalakar - -**Prerequirement** - -**Linux, Apache, MySql, PHP** - -Install Drush on system: - -sudo apt-get install drush - -`*http://www.drush.org/en/master/usage/* `__ - -**Install php-5.6 Ubuntu 16.04** - -sudo add-apt-repository ppa:ondrej/php - -sudo apt-get update - -sudo apt-get install php5.6 - -sudo apt-get install php5.6-mbstring php5.6-mcrypt php5.6-mysql -php5.6-xml - -**GIT:** -`*https://git-scm.com/book/en/v2/Getting-Started-Installing-Git* `__ - -**Drupal 7:** -`*https://www.drupal.org/docs/7/system-requirements* `__ - -**Drupal 7 Installation:** -`*https://www.drupal.org/docs/7/install* `__ - -**Custom Modules Drupal 7:** -`*https://www.drupal.org/docs/7/creating-custom-modules* `__ - -**Clean URL Issue:** -`*https://www.drupal.org/docs/7/configuring-clean-urls/enable-clean-urls* `__ diff --git a/General/Critical-analysis-FOSSEE-websites.rst b/General/Critical-analysis-FOSSEE-websites.rst new file mode 100644 index 0000000..dc8e2a6 --- /dev/null +++ b/General/Critical-analysis-FOSSEE-websites.rst @@ -0,0 +1,115 @@ +Document Information +==================== + +Name of the Document: Critical Analysis of FOSSEE Websites + +Date: 4/05/2017 + +Author: Priyanka Bhagwat + +Designation: Software Engineer + +Introduction +============ + +This document aims to identify website features/modules that should be +removed/improve and identifying bugs + +Assumptions +=========== + +It is assumed that the readers of this document are familiar with the +Drupal 7, PHP, MySQL and software engineering. It is also assumed that +the required resources will be available to achieve the objectives of +the plan. + +Common Suggestions for all the websites +======================================= + +Centralised login ( if possible) + +Search Engine Optimisation + +Standardise menu names and URL’s throughout all websites. + +Database structure to be standardized across all websites. + +Scilab Website +============== + ++-------+---------------------+ +| URL | http://scilab.in/ | ++=======+=====================+ ++-------+---------------------+ + +1. General Comments + + a. Reduce content on website. Too much content on the site makes it + look bulky and hence many times other lightweight themes + cannot be implemented. Even too many links on the site. We can + come up with better way to display side navigations, Few + examples at + `*https://dcrazed.com/jquery-navigation-plugins-menus/* `__ + + `*http://cssmenumaker.com/menu/modern-accordion-menu#* `__ + + b. Git implementation to be done. Currently the completed books are save + on the server and its entry in database. On completed book + checkbox selection the files should be automatically be pushed to + GIT repo. + +2. Apache Solr Search + + a. New searching techniques to be implemented. + + `*https://wunder.io/blog/build-advanced-content-listings-with-apache-solr-search-api-facet-api/2012-04-20* `__ + + b. Result display of search can be improved. + + c. Sometimes cannot handle search limit, throws Indexoutofbound() + exception. + +3. Textbook Companion/Lab Migration + + a. User dashboard according to each role + + b. Improve mail functions. + + c. The overall way how the data is displayed can be improved. Can use + flat UI. + + `*http://bootsnipp.com/snippets/W7gNz* `__ + + d. Payment interface to be tested. + +4. Scilab Toolbox Interface + + a. Currently, this content is added as static HTML. An interface to + be developed which will take data as input and render it to + the decided format. The parameters to be given by scilab team. + +5. Scilab on cloud + + a. Currently the Categories loaded are written static. For future + scope this should also be loaded dynamically from the + database. + +FOSSEE Website +============== + ++-------+---------------------+ +| URL | http://fossee.in/ | ++=======+=====================+ ++-------+---------------------+ + +1. Statistics Module + + a. The overall code written needs to be simplified and an standard + way to add new projects needs to be implemented. Currently the + process is quite complicated. + +2. Inventory System + + a. We can add inventory system to the site where the office staff can + add details of hardwares and other stationery and can assign + to the FOSSEE Employees. diff --git a/General/Drupal6-Drupal7-upgrade-process.rst b/General/Drupal6-Drupal7-upgrade-process.rst new file mode 100644 index 0000000..1dd4e88 --- /dev/null +++ b/General/Drupal6-Drupal7-upgrade-process.rst @@ -0,0 +1,158 @@ +***Process to upgrade from drupal 6 to drupal 7*** + + +Document Information +==================== + +Name of the Document: Drupal 6 to Drupal 7 Upgradation process + +Date: 5/04/2015 + +Author: Priyanka Bhagwat and Prashant Sinalakar + + +**step 1:** + +**take a backup of your drupal site and database** + +**step 2:** + +**Login as superuser/first user and disable all custom modules and +custom theme of drupal 6 site.** + +**step 3:** + + 1) **Install drush into your system** + + sudo apt-get install drush + + 2) **Download latest version of drupal** + + drush dl drupal-7 + + 3) **Connect your existing drupal 6 database with new drupal 7** (make + changes in setting.php of drupal 7 to connect with old database) + + 4) **Go to project directory then run** + + drush updb + + 5) **Login in to drupal 7 as first user** + + 6) **move all old site data to new drupal 7 expect theme** + + 7) **remove modulename\_bck modules** + + 8) **update all modules using** + + drush dl -y acl references author\_pane ckeditor votingapi views ctools + references xmlsitemap webform advanced\_forum captcha cck ckeditor + comment\_notify email\_verify extlink feedback fivestar formblock + google\_analytics jquery\_ui jquery\_update link linkchecker masquerade + mimemail nice\_menus notify recaptcha spambot views + + drush dl -y views date easy\_social captcha cck email\_verify sharethis + socila\_share wysiwyg google\_analytics jquery\_ui link masquerade + recaptcha + + 9) enable all necessary modules + + drush en module\_name + + drush updb + + if any error in webform take out webform form modules then, + + **drush updb** + + **drush command to update all modules without updating the core.** + + drush upc --no-core + +**step 4:** + 1) drush dl drupal-7 + + 2) make settings.php + + 3) connect with old db then, go to project dir run + + # references, link + + 4) drush updb + + 5) login to first user and mv all old sites data to new d7 except theme,remove modulename\_bck modules, them update all modules using + + drush dl -y acl references author\_pane ckeditor votingapi views ctools + references xmlsitemap webform advanced\_forum captcha cck ckeditor + comment\_notify email\_verify extlink feedback fivestar formblock + google\_analytics jquery\_ui jquery\_update link linkchecker masquerade + mimemail nice\_menus notify recaptcha spambot views + + ## acl references views ctools references webform cck link views + + 6) enable all necessary modules + + 7) drush updb + + 8) if any error in webform take out webform form modules then, + + drush updb + + node\_access => references + +**step 5:** + + Scilink Query - Only for Scilab Website + + content type => Documentation Page + + select \* from content\_field\_link where nid in (SELECT nid FROM + \`content\_type\_link\` where \`field\_parent\_page\_nid\`=118) + +**Important** + + 1) **changed query structure..** + + 2) **theme\_table must be replaced to ‘Section title.. +===============theme(“”, “”, array =()) ** + +***Error and solution :*** + + **If you get error like following: ** + + **“Undefined index: distribution\_name in + drupal\_install\_profile\_distribution\_name() (line 207 of + /var/www/html/drupal-7.37/includes/install.inc “** + + **Then run following query in database** + + `***UPDATE*** `__ + `***system*** `__ + **`*SET* `__ + status=1 WHERE name='standard';** + + **This will resolve profile error** + + **While going for changing query of theme** + + theme('table', array('header' => $pending\_header, 'rows' => + $pending\_rows )); + + solve error of mail sending: email.inc change following line + + change + + **$language-language** replace with **array('language' => + $language->language)** + + **$message['body'] = t('…...’);** replace with **$message['body'] = + array('body' => t('…….));** + + **Error:** *Notice*: Undefined index: distribution\_name in + *drupal\_install\_profile\_distribution\_name()* (line *207* of + */var/www/html/cfd\_fossee\_in\_7/includes/install.inc*). + + FIX this: + + UPDATE \`drupal\`.\`system\` SET \`status\` = '1' WHERE + \`system\`.\`filename\` = 'profiles/standard/standard.profile'; diff --git a/General/Drupal7-site-setup.rst b/General/Drupal7-site-setup.rst new file mode 100644 index 0000000..956ba82 --- /dev/null +++ b/General/Drupal7-site-setup.rst @@ -0,0 +1,46 @@ + +Document Information +==================== + +Name of the Document: Drupal 7 Site Setup + +Date: 5/04/2015 + +Author: Priyanka Bhagwat and Prashant Sinalakar + +Prerequisite +==================== + +**Linux, Apache, MySql, PHP** + +Install Drush on system: + +sudo apt-get install drush + +`*http://www.drush.org/en/master/usage/* `__ + +**Install php-5.6 Ubuntu 16.04** + +sudo add-apt-repository ppa:ondrej/php + +sudo apt-get update + +sudo apt-get install php5.6 + +sudo apt-get install php5.6-mbstring php5.6-mcrypt php5.6-mysql +php5.6-xml + +**GIT:** +`*https://git-scm.com/book/en/v2/Getting-Started-Installing-Git* `__ + +**Drupal 7:** +`*https://www.drupal.org/docs/7/system-requirements* `__ + +**Drupal 7 Installation:** +`*https://www.drupal.org/docs/7/install* `__ + +**Custom Modules Drupal 7:** +`*https://www.drupal.org/docs/7/creating-custom-modules* `__ + +**Clean URL Issue:** +`*https://www.drupal.org/docs/7/configuring-clean-urls/enable-clean-urls* `__ diff --git a/General/Instruction-Sheet-develop-deploy-website.rst b/General/Instruction-Sheet-develop-deploy-website.rst new file mode 100644 index 0000000..844f76c --- /dev/null +++ b/General/Instruction-Sheet-develop-deploy-website.rst @@ -0,0 +1,122 @@ +Document Information +==================== + +Name of the Document: Instruction sheet for developing and deploying new +website + +Date: 16/05/2017 + +Author: Priyanka Bhagwat + +Designation: Software Engineer + +Introduction +============ + +This document gives the steps involved while developing a new FOSSEE +website. + +Assumptions +=========== + +It is assumed that the readers of this document are familiar with the +Drupal 7, PHP, MySQL and software engineering. It is assumed that the +DOCS mentioned in the file are already shared, if not found please +contact the senior webteam member/Sysads/managers for the same. + +For any new website similar to Scilab Webiste + +Step 1: **General Requirements** + +1. **URL**: “domain” on main server + +2. **URL**: “domain” on test server eg “r.fossee.aero.iitb.ac.in + +3. **Contact Id**: contact-id(at)fossee(dot)in + +4. **Mailing List**: group mailing list for members for example + r(dot)fossee(dot)in + +5. **AWstats** and **Google analytics** for the same. + +Step 2: **On Local machine** + +1. Copy the latest working project directory and database from the main + server on your **local** machine + +2. Login as **superuser** + +3. Find and replace the existing name/email ids/contact-ids according + to the new project name. + +4. Follow step 3 for database tables as well + +5. Clean the database entries for custom modules and user table + **except the superuser** + +6. Create required directories for code uploads as per requirement + +7. Add necessary information to the TBC/LM settings for eg- CC, BCC, + contact ids etc + +8. Disable Captcha + +9. Add the **AWstats** and **Google analytics.** The details can be + viewed at “\ **FOSSEE WEBSITES STATISTICS SHEET**\ ” GDOC + +10. Test it locally. + +Step 3: **On Test Server** + +1. If testing is successful, ask Sysads to deploy it on **test server** + +2. Ask the respective team to test the site on test server + +3. Resolve errors, if any + +4. Ask the Sysads to deploy it to the main server + +Step 4: **On Main Server** + +1. Check if the Uploads folder is present + +2. Check for CAPTCHA and RECaptcha + +3. Create and Update new Superuser username and password and add it to + the “\ **Web Team Access**\ ” GDOC + +4. Test with dummy data, once OK clear the dummy data added + +5. Make the site available for use + +Step 5: FOSSEE Statistics + +1. FOSSEE Site statistics + + a. Copy the php file from main server. + Location:/Sites/fossee\_drupal/data/project-statistics.php + + b. Add the new website details to the file. + + c. Update the file on the main server, assuming you have necessary + permissions. + + d. The site stats can be view at + `*http://fossee.in/data/project-statistics.php* `__ + +2. FOSSEE Activity statistics + + a. You need a working fossee.in copy on your local. + + b. Either Fork or Clone the repo + `*https://github.com/FOSSEE/FOSSEE\_Stats* `__ + + c. Add the new website database details to settings.php. + + d. Make the necessary changes + + e. Send pull request to the repo. + + f. Pull the changes on test server. + + g. If ok, ask sysads to merge the changes to the main server. diff --git a/Instruction-Sheet-develop-deploy-website.rst b/Instruction-Sheet-develop-deploy-website.rst deleted file mode 100644 index 844f76c..0000000 --- a/Instruction-Sheet-develop-deploy-website.rst +++ /dev/null @@ -1,122 +0,0 @@ -Document Information -==================== - -Name of the Document: Instruction sheet for developing and deploying new -website - -Date: 16/05/2017 - -Author: Priyanka Bhagwat - -Designation: Software Engineer - -Introduction -============ - -This document gives the steps involved while developing a new FOSSEE -website. - -Assumptions -=========== - -It is assumed that the readers of this document are familiar with the -Drupal 7, PHP, MySQL and software engineering. It is assumed that the -DOCS mentioned in the file are already shared, if not found please -contact the senior webteam member/Sysads/managers for the same. - -For any new website similar to Scilab Webiste - -Step 1: **General Requirements** - -1. **URL**: “domain” on main server - -2. **URL**: “domain” on test server eg “r.fossee.aero.iitb.ac.in - -3. **Contact Id**: contact-id(at)fossee(dot)in - -4. **Mailing List**: group mailing list for members for example - r(dot)fossee(dot)in - -5. **AWstats** and **Google analytics** for the same. - -Step 2: **On Local machine** - -1. Copy the latest working project directory and database from the main - server on your **local** machine - -2. Login as **superuser** - -3. Find and replace the existing name/email ids/contact-ids according - to the new project name. - -4. Follow step 3 for database tables as well - -5. Clean the database entries for custom modules and user table - **except the superuser** - -6. Create required directories for code uploads as per requirement - -7. Add necessary information to the TBC/LM settings for eg- CC, BCC, - contact ids etc - -8. Disable Captcha - -9. Add the **AWstats** and **Google analytics.** The details can be - viewed at “\ **FOSSEE WEBSITES STATISTICS SHEET**\ ” GDOC - -10. Test it locally. - -Step 3: **On Test Server** - -1. If testing is successful, ask Sysads to deploy it on **test server** - -2. Ask the respective team to test the site on test server - -3. Resolve errors, if any - -4. Ask the Sysads to deploy it to the main server - -Step 4: **On Main Server** - -1. Check if the Uploads folder is present - -2. Check for CAPTCHA and RECaptcha - -3. Create and Update new Superuser username and password and add it to - the “\ **Web Team Access**\ ” GDOC - -4. Test with dummy data, once OK clear the dummy data added - -5. Make the site available for use - -Step 5: FOSSEE Statistics - -1. FOSSEE Site statistics - - a. Copy the php file from main server. - Location:/Sites/fossee\_drupal/data/project-statistics.php - - b. Add the new website details to the file. - - c. Update the file on the main server, assuming you have necessary - permissions. - - d. The site stats can be view at - `*http://fossee.in/data/project-statistics.php* `__ - -2. FOSSEE Activity statistics - - a. You need a working fossee.in copy on your local. - - b. Either Fork or Clone the repo - `*https://github.com/FOSSEE/FOSSEE\_Stats* `__ - - c. Add the new website database details to settings.php. - - d. Make the necessary changes - - e. Send pull request to the repo. - - f. Pull the changes on test server. - - g. If ok, ask sysads to merge the changes to the main server. diff --git a/Scilab/media/TBCAdmin.jpg b/Scilab/media/TBCAdmin.jpg new file mode 100644 index 0000000..e8dce05 Binary files /dev/null and b/Scilab/media/TBCAdmin.jpg differ diff --git a/Scilab/media/TBCAdmin.png b/Scilab/media/TBCAdmin.png deleted file mode 100644 index 774fbee..0000000 Binary files a/Scilab/media/TBCAdmin.png and /dev/null differ diff --git a/Scilab/media/TBCER.jpg b/Scilab/media/TBCER.jpg new file mode 100644 index 0000000..0621a21 Binary files /dev/null and b/Scilab/media/TBCER.jpg differ diff --git a/Scilab/media/TBCER.png b/Scilab/media/TBCER.png deleted file mode 100644 index 36d2050..0000000 Binary files a/Scilab/media/TBCER.png and /dev/null differ -- cgit