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

            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
            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 %}
            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
            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
            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.

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: