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

Check & update setup instructions for AppStore "dev" environment - Mac & Windows

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      The "README" for appstore code base links to a google doc that describes how to set up a your developer environment.

      The appstore code has changed since these instructions were written and so they may be out of date.

      See App store repository: https://bitbucket.org/lorainelab/appstore/src/master/ for link to developer setup instructions.

      On your Mac computer, walk through the instructions. Make note of any blockers or problems.

        Attachments

          Activity

          Hide
          chirag24 Chirag Chandrahas Shetty (Inactive) added a comment - - edited

          Following changes where required for windows platform and python 3.8.5:

          • Edit python_packages.txt file:
            • maxminddb==2.0.3
            • Pillow==8.0.1
          • Run the following command if you get "no such table: curated_categories_curatedcategory" error

            python manage.py migrate --run-syncdb

          Show
          chirag24 Chirag Chandrahas Shetty (Inactive) added a comment - - edited Following changes where required for windows platform and python 3.8.5: Edit python_packages.txt file: maxminddb==2.0.3 Pillow==8.0.1 Run the following command if you get "no such table: curated_categories_curatedcategory" error python manage.py migrate --run-syncdb
          Hide
          ann.loraine Ann Loraine added a comment -

          Currently we are using python 3.6 for deployment of app store on testing and production sites, as per this play in the appstore-playbook "venv" role:

          - name: create virtual environment for appstore to run in
            pip:
              requirements: ~{{ ansible_ssh_user }}/appstore/python_packages.txt
              virtualenv: ~{{ ansible_ssh_user }}/appstore/venv
              virtualenv_python: python3.6
          

          See: https://bitbucket.org/lorainelab/appstore-playbooks/src/master/roles/venv/tasks/main.yml

          Question: Shouldn't we specify the version of python to be used in the development environment? Also, should we now upgrade all appstore sites to use python 3.8.5?

          Show
          ann.loraine Ann Loraine added a comment - Currently we are using python 3.6 for deployment of app store on testing and production sites, as per this play in the appstore-playbook "venv" role: - name: create virtual environment for appstore to run in pip: requirements: ~{{ ansible_ssh_user }}/appstore/python_packages.txt virtualenv: ~{{ ansible_ssh_user }}/appstore/venv virtualenv_python: python3.6 See: https://bitbucket.org/lorainelab/appstore-playbooks/src/master/roles/venv/tasks/main.yml Question: Shouldn't we specify the version of python to be used in the development environment? Also, should we now upgrade all appstore sites to use python 3.8.5?
          Hide
          chirag24 Chirag Chandrahas Shetty (Inactive) added a comment -

          Even in python 3.6.12 I needed to switch maxminddb version to 2.0.3. No need to change pillow version or run synch command.

          Show
          chirag24 Chirag Chandrahas Shetty (Inactive) added a comment - Even in python 3.6.12 I needed to switch maxminddb version to 2.0.3. No need to change pillow version or run synch command.
          Hide
          ssegu Sai Supreeth Segu (Inactive) added a comment -

          Everything looks good and the document is updated.

          Show
          ssegu Sai Supreeth Segu (Inactive) added a comment - Everything looks good and the document is updated.
          Hide
          chirag24 Chirag Chandrahas Shetty (Inactive) added a comment -

          Tested on a windows machine. Everything looks good.

          Show
          chirag24 Chirag Chandrahas Shetty (Inactive) added a comment - Tested on a windows machine. Everything looks good.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: