Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-1576

On-boarding - App Store dev - Set up App Store development environment on your computer

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Story Points:
      0.5
    • Sprint:
      Spring 2019 Sprint 2, Spring 2019 Sprint 3, Spring 2 2021 Apr 5 - Apr 16

      Description

      Set up App Store development environment on your computer.
      Upload documentation for same, as required.

      See:

      Add documentation to shared Google Drive folder and/or README.md in top-level of App Store code base from https://bitbucket.org/lorainelab/appstore

        Attachments

          Issue Links

            Activity

            ann.loraine Ann Loraine made changes -
            Resolution Done [ 10000 ]
            Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]
            ann.loraine Ann Loraine made changes -
            Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
            ann.loraine Ann Loraine made changes -
            Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
            ann.loraine Ann Loraine made changes -
            Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
            ann.loraine Ann Loraine made changes -
            Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
            ann.loraine Ann Loraine made changes -
            Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
            ann.loraine Ann Loraine made changes -
            Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
            omarne Omkar Marne (Inactive) made changes -
            Assignee Omkar Marne [ omarne ]
            omarne Omkar Marne (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            Hide
            omarne Omkar Marne (Inactive) added a comment -

            I was able to setup the app store development environment on my machine. Moving this ticket to first level review.

            Show
            omarne Omkar Marne (Inactive) added a comment - I was able to setup the app store development environment on my machine. Moving this ticket to first level review.
            omarne Omkar Marne (Inactive) made changes -
            Status To-Do [ 10305 ] In Progress [ 3 ]
            omarne Omkar Marne (Inactive) made changes -
            Status Post-merge Testing In Progress [ 10003 ] To-Do [ 10305 ]
            omarne Omkar Marne (Inactive) made changes -
            Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
            omarne Omkar Marne (Inactive) made changes -
            Status Post-merge Testing In Progress [ 10003 ] Merged Needs Testing [ 10002 ]
            omarne Omkar Marne (Inactive) made changes -
            Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
            omarne Omkar Marne (Inactive) made changes -
            Status Post-merge Testing In Progress [ 10003 ] Merged Needs Testing [ 10002 ]
            omarne Omkar Marne (Inactive) made changes -
            Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
            omarne Omkar Marne (Inactive) made changes -
            Status Post-merge Testing In Progress [ 10003 ] Merged Needs Testing [ 10002 ]
            omarne Omkar Marne (Inactive) made changes -
            Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
            omarne Omkar Marne (Inactive) made changes -
            Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
            omarne Omkar Marne (Inactive) made changes -
            Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
            omarne Omkar Marne (Inactive) made changes -
            Status To-Do [ 10305 ] Pull Request Submitted [ 10101 ]
            omarne Omkar Marne (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Closed [ 6 ] To-Do [ 10305 ]
            ann.loraine Ann Loraine made changes -
            Epic Link IGBF-1388 [ 17463 ] IGBF-1762 [ 17852 ]
            ann.loraine Ann Loraine made changes -
            Assignee Narendra Kumar Vankayala [ narendra ] Omkar Marne [ omarne ]
            ann.loraine Ann Loraine made changes -
            Sprint Spring 2019 Sprint 2, Spring 2019 Sprint 3 [ 60, 61 ] Spring 2019 Sprint 2, Spring 2019 Sprint 3, Spring 2 2021 Apr 5 - Apr 16 [ 60, 61, 118 ]
            ann.loraine Ann Loraine made changes -
            Summary Set up App Store development environment on your computer On-boarding - App Store dev - Set up App Store development environment on your computer
            ann.loraine Ann Loraine made changes -
            Workflow Fall 2019 Workflow Update [ 20043 ] Revised Fall 2019 Workflow Update [ 22173 ]
            ann.loraine Ann Loraine made changes -
            Workflow Loraine Lab Workflow [ 18297 ] Fall 2019 Workflow Update [ 20043 ]
            ann.loraine Ann Loraine made changes -
            Resolution Done [ 10000 ]
            Status Reviewing [ 10301 ] Closed [ 6 ]
            Hide
            ann.loraine Ann Loraine added a comment -

            Charan confirmed set-up now works on Windows. I have merged aloraine's fork's branch named IGBF-1576 into the master branch of team repository. Branch IGBF-1576 had many (more than 10) commits so that it will be easier to understand all the changes that were done, and why.
            Before I merged my IGBF-1576 branch into master, I made a new branch from master on the team repository - called django-1.8 - which captures the old configurations. We won't use this in further development, but I wanted to keep it around for comparison.

            Show
            ann.loraine Ann Loraine added a comment - Charan confirmed set-up now works on Windows. I have merged aloraine's fork's branch named IGBF-1576 into the master branch of team repository. Branch IGBF-1576 had many (more than 10) commits so that it will be easier to understand all the changes that were done, and why. Before I merged my IGBF-1576 branch into master, I made a new branch from master on the team repository - called django-1.8 - which captures the old configurations. We won't use this in further development, but I wanted to keep it around for comparison.
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            Due to how the project was configured, "python migrate.py makemigrations" command was failing when run with no arguments. Fixed with the following commits:

            74e2737 Remove unnecessary migrations; there are no models
            7480c99 Remove unnecessary migrations; there are no models
            fc264ca Remove unnecessary migrations; there are no models
            99b1751 Remove unnecessary migrations; there are no models
            b62cd4f Update configurations
            555e712 Top level project directory is not a python package
            6d3bc7f Include migration directories for each custom app
            aa84f20 Use Djano 2.1 convention for installing apps

            The following commands instantiate the database.

            1) Make migration files for locally defined apps with a Models.py:

            • python manage.py makemigrations

            2) Run migrations for above and also contributed apps:

            • python manage.py migrate
            Show
            ann.loraine Ann Loraine added a comment - - edited Due to how the project was configured, "python migrate.py makemigrations" command was failing when run with no arguments. Fixed with the following commits: 74e2737 Remove unnecessary migrations; there are no models 7480c99 Remove unnecessary migrations; there are no models fc264ca Remove unnecessary migrations; there are no models 99b1751 Remove unnecessary migrations; there are no models b62cd4f Update configurations 555e712 Top level project directory is not a python package 6d3bc7f Include migration directories for each custom app aa84f20 Use Djano 2.1 convention for installing apps The following commands instantiate the database. 1) Make migration files for locally defined apps with a Models.py: python manage.py makemigrations 2) Run migrations for above and also contributed apps: python manage.py migrate
            ann.loraine Ann Loraine made changes -
            Comment [ Looks like apps table needs to be created.
            Can check using sqlite3:
            (appstoredev) $ sqlite3
            SQLite version 3.19.3 2017-06-27 16:48:08
            Enter ".help" for usage hints.
            Connected to a transient in-memory database.
            Use ".open FILENAME" to reopen on a persistent database.
            sqlite> .open db.sqlite3
            sqlite> .tables
            apps_app auth_user
            apps_app_editors auth_user_groups
            apps_app_tags auth_user_user_permissions
            apps_author django_admin_log
            apps_orderedauthor django_content_type
            apps_release django_migrations
            apps_release_dependencies django_session
            apps_releaseapi social_auth_association
            apps_screenshot social_auth_code
            apps_tag social_auth_nonce
            auth_group social_auth_partial
            auth_group_permissions social_auth_usersocialauth
            auth_permission





            ]
            Hide
            Narendra Narendra Kumar Vankayala (Inactive) added a comment -

            The branch https://bitbucket.org/aloraine/appstore/branch/IGBF-1576 is failing in with the following error.

            Template error:
            In template E:\narendraappstorefork\apps\templates\app_buttons.html, error at line 4
            no such table: apps_app
            1 :

            {% load app_buttons %}

            2 :
            3 : <div class="span4" id="left">
            4 :

            {% for app in apps %}
            5 : {% if not forloop.counter|divisibleby:2 %}
            6 : {% app_button app forloop.counter %}
            7 : {% endif %}
            8 : {% endfor %}
            9 : </div>
            10 : <div class="span4" id="right">
            11 : {% for app in apps %}

            12 :

            {% if forloop.counter|divisibleby:2 %}

            13 :

            {% app_button app forloop.counter %}

            14 :

            {% endif %}
            Show
            Narendra Narendra Kumar Vankayala (Inactive) added a comment - The branch https://bitbucket.org/aloraine/appstore/branch/IGBF-1576 is failing in with the following error. Template error: In template E:\narendraappstorefork\apps\templates\app_buttons.html, error at line 4 no such table: apps_app 1 : {% load app_buttons %} 2 : 3 : <div class="span4" id="left"> 4 : {% for app in apps %} 5 : {% if not forloop.counter|divisibleby:2 %} 6 : {% app_button app forloop.counter %} 7 : {% endif %} 8 : {% endfor %} 9 : </div> 10 : <div class="span4" id="right"> 11 : {% for app in apps %} 12 : {% if forloop.counter|divisibleby:2 %} 13 : {% app_button app forloop.counter %} 14 : {% endif %}
            Narendra Narendra Kumar Vankayala (Inactive) made changes -
            Status Needs 1st Level Review [ 10005 ] Reviewing [ 10301 ]
            Narendra Narendra Kumar Vankayala (Inactive) made changes -
            Assignee Narendra Kumar Vankayala [ narendra ]
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            Migrated to Django 2.1 and was able to run appstore locally, using built-in Django Web server and sqlite.

            To test:

            Show
            ann.loraine Ann Loraine added a comment - - edited Migrated to Django 2.1 and was able to run appstore locally, using built-in Django Web server and sqlite. To test: Get branch: https://bitbucket.org/aloraine/appstore/branch/IGBF-1576#diff Follow set-up instructions (adapted to your platform): https://docs.google.com/document/d/1_9C03q6TD5wjLqfVLKsuDsIEQ4-qrS0JhONO5VBOwaA
            ann.loraine Ann Loraine made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            Hide
            ann.loraine Ann Loraine added a comment - - edited

            App Store code base uses deprecated modules not present in Django 2.1.
            Am working on updating code base on my system.
            Our current setup requires you to install Django 1.8.
            See installDependencies.sh

            Show
            ann.loraine Ann Loraine added a comment - - edited App Store code base uses deprecated modules not present in Django 2.1. Am working on updating code base on my system. Our current setup requires you to install Django 1.8. See installDependencies.sh
            Hide
            ann.loraine Ann Loraine added a comment -

            Working on MacOS set-up. Making changes to avoid hard-coding paths.

            Show
            ann.loraine Ann Loraine added a comment - Working on MacOS set-up. Making changes to avoid hard-coding paths.
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            ann.loraine Ann Loraine made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Status In Progress [ 3 ] Open [ 1 ]
            ann.loraine Ann Loraine made changes -
            Assignee Narendra Kumar Vankayala [ narendra ]
            ann.loraine Ann Loraine made changes -
            Labels Beginner
            ann.loraine Ann Loraine made changes -
            Link This issue is blocked by IGBF-1626 [ IGBF-1626 ]
            ann.loraine Ann Loraine made changes -
            Link This issue blocks IGBF-1628 [ IGBF-1628 ]
            Narendra Narendra Kumar Vankayala (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            Narendra Narendra Kumar Vankayala (Inactive) made changes -
            Assignee Riddhi Jagdish Patil [ rpatil14 ] Narendra Kumar Vankayala [ narendra ]
            ptambvek Pranav Sanjay Tambvekar (Inactive) made changes -
            Status Reviewing [ 10301 ] Open [ 1 ]
            ptambvek Pranav Sanjay Tambvekar (Inactive) made changes -
            Assignee Pranav Sanjay Tambvekar [ ptambvek ] Riddhi Jagdish Patil [ rpatil14 ]
            Hide
            ptambvek Pranav Sanjay Tambvekar (Inactive) added a comment -

            Dr. [~aloraine], should we mention the link to RDS in the documentation?
            Otherwise, the changes mentioned in the shared document on Google Drive look good and can be included in the main documentation.

            Show
            ptambvek Pranav Sanjay Tambvekar (Inactive) added a comment - Dr. [~aloraine] , should we mention the link to RDS in the documentation? Otherwise, the changes mentioned in the shared document on Google Drive look good and can be included in the main documentation.
            ptambvek Pranav Sanjay Tambvekar (Inactive) made changes -
            Status Needs 1st Level Review [ 10005 ] Reviewing [ 10301 ]
            ptambvek Pranav Sanjay Tambvekar (Inactive) made changes -
            Assignee Pranav Sanjay Tambvekar [ ptambvek ]
            ann.loraine Ann Loraine made changes -
            Rank Ranked higher
            ann.loraine Ann Loraine made changes -
            Sprint Spring 2019 Sprint 2 [ 60 ] Spring 2019 Sprint 2, Spring 2019 Sprint 3 [ 60, 61 ]
            rpatil14 Riddhi Jagdish Patil (Inactive) made changes -
            Assignee Riddhi Jagdish Patil [ rpatil14 ]
            rpatil14 Riddhi Jagdish Patil (Inactive) made changes -
            Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
            Hide
            rpatil14 Riddhi Jagdish Patil (Inactive) added a comment -

            The setup for AppStore and MySQL client (to access RDS) are done locally. Also, I have modified the document by adding the steps to access the RDS instance and uploaded the AppStore Setup Guide in the shared folder.

            Show
            rpatil14 Riddhi Jagdish Patil (Inactive) added a comment - The setup for AppStore and MySQL client (to access RDS) are done locally. Also, I have modified the document by adding the steps to access the RDS instance and uploaded the AppStore Setup Guide in the shared folder.
            ann.loraine Ann Loraine made changes -
            Link This issue relates to IGBF-1470 [ IGBF-1470 ]
            ann.loraine Ann Loraine made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            ann.loraine Ann Loraine made changes -
            Assignee Riddhi Jagdish Patil [ rpatil14 ]
            Hide
            ann.loraine Ann Loraine added a comment -

            I created an issue to capture effort required to get your development environment set up and also make changes to documentation as you see fit to help next person who does this. See linked issues for info about database.

            Show
            ann.loraine Ann Loraine added a comment - I created an issue to capture effort required to get your development environment set up and also make changes to documentation as you see fit to help next person who does this. See linked issues for info about database.
            ann.loraine Ann Loraine made changes -
            Assignee Ann Loraine [ aloraine ]
            ann.loraine Ann Loraine made changes -
            Epic Link IGBF-1388 [ 17463 ]
            ann.loraine Ann Loraine made changes -
            Field Original Value New Value
            Rank Ranked higher
            ann.loraine Ann Loraine created issue -

              People

              • Assignee:
                Unassigned
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: