Skip to main content

GSoC’17 Coding period | Week #12 | Uc Wishlist



 
The last week of Google Summer of Code 2017 is underway, with the commencement of the Final Evaluation period and the completion of porting the Uc Wishlist module, my project is conclusively ready for testing and community reviews. With the able guidance of my mentor, Naveen Valecha, all the sub-modules ports for the process have been practically achieved, save for few optional improvisations, which can be included upon additional community reviews.

Focusing on the current scenario, all patches concerning the port have been maintained drupal.org and Github. Furthermore, the patches for Phase I and II have been reviewed and committed to the project codebase by my mentor. An alpha version of the module would be released soon. Meanwhile, feel free to provide feedback and raise relevant issues regarding the port of the module here.
This final blog would primarily focus in a stepwise and conclusive walk-through regarding a successful installation and configuration of the module. The steps for a successful installation is included below with accompanied by a visual demo of the same. For additional information on the working structure of the module, feel free to consult here.

Installing/Configuring the module:
  1. Enter the Drupal root installation directory and cd into modules/ directory.
  1. Execute the Drush command drush dl ubercart for downloading the latest compatible version of Ubercart for Drupal 8.
  1. Run drush en ubercart for installing/enabling the Ubercart module.
  1. Clear caches for the impending changes to take place by executing drush cr (cache-rebuild). This command would also display the probable errors (if there are any) faced during installation of the module thereby temporarily terminating the installation.

  2. Assuming no errors faced during the installation of Ubercart, the next step would be to download the Uc Wishlist module. This can be done by executing the command drush dl uc_wishlist.
  1. With no further errors, uc_wishlist would get successfully installed. Enable the module by executing drush en uc_wishlist. Upon execution of the command, the following dependencies would be prompted to install/enable for successfully enabling the Uc Wishlist module: uc_wishlist, uc_country, uc_store, uc_product, uc_order and uc_cart. Enter y/yes in terminal to install the above dependencies along with uc_wishlist.
  1. Drush would return a confirmation for the successful installation of the module. The next step would be to clear the caches for the module to get registered to the system and function successfully.    
Once installed the module can be configured to perform the following actions:
The Uc wishlist module is thus ready to function as per the user requirements, once properly installed according to the above instructions. I would recommend Drupalers using this port to create an issue in the issue queue page, if any. I have also created an issue, regarding final work submission in drupal.org, which can be accessed here.

So far, the experience has been really commendable, keeping in mind the vast knowledge procured during the interning tenure. Summing up, I would like to extend a vote of thanks to the Drupal community for assisting me towards the completion of the project. Special thanks also to the org admin Matthew Lechleider for his timely instructions and my mentor Naveen Valecha for guiding me throughout the coding regime. Looking forward to more collaborations in the near future.

Till next time then.

Cheers!




Comments

Popular posts from this blog

GSoC’17 Coding period | Week #5 | Drupal

The second phase of the Coding Phase officially kicked off the previous week on June 30th, 16:00, marking the conclusion of the First Evaluation period for Google Summer of Code 2017. On the personal front, I would like to state that I progressed successfully through the evaluations by completing the two designated ports for my project ‘Porting UC Wish list to Drupal 8’ , under the able guidance of my mentor, Naveen Valecha . I have also maintained a detailed info for the work done as part of the first phase evaluations in a previous blogpost . The previous week, based on the mentor’s review of the earlier ports done, I had also fixed the coding standards and made some changes to the code, as suggested by him. Meanwhile, based on a comprehensive analysis for the above mentioned ports, the work done briefly the earlier week can be stated as: 'View wishlist' option visuals in D8: 'Email wishlist' option visuals: As of now, I...

GSoC’17 Coding period | Week #7 | UC Wishlist

With the last week of the second phase of the Google Summer of Code 2017 underway, the seventh week has come to a close. The previous week saw the completion of the third port for the second regime, i.e., porting ‘View/Update wishlist’ . The earlier week I had summarised the implementation for the third port, i.e, porting ‘View/Update wishlist’ functionality. So, the work done the previous week for the implementation of the mentioned third port can be summarised below: The first thing I did was to define an interface my UcWishlist entity type class can implement and that extends the default ContentEntityInterface alongwith EntityOwnerInterface . So inside of the module's src/Entity folder, create a file called UcWishlistInterface.php . Next,  I focused on the crux of defining my own Content Entity class and created a folder inside the src/ directory called Entity , and within it, a file called UcWishlist.php . What we have here is a...

Community Bonding with Drupal | GSoC 2017

As mentioned previously, this year I got selected for GSoC under Drupal for the project ‘Porting UC wish list to Drupal 8’ . This blogpost would concisely pivot around the Community Bonding period with Drupal for GSoC’17, thereby focusing on it’s importance and objectives achieved during this phase. This year, the accepted GSoC proposals/projects were announced on April 3, 21:00 IST. The selected students are entitled to participate in the Community Bonding period till May 29th. The Community Bonding period, essentially, is the time for the selected students to socially engage with the fellow developers & learn extensively about their organisation’s functionalities, in other words, have a comprehensive understanding of an organisation’s codebase, codes of conduct, releases etc, rather than jumping straight into coding. Moreover, during this term students have the opportunity of interacting with their respective mentors, plan correspondingly about their proj...