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

Implement foundational infrastrure for Trackhub Website

    Details

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

      Description

      Using the knowledge we've gathered involving both Django and Python, this ticket will primarily involve us getting the track hub website's foundations done.

      The interface will be barebones for the moment and will serve as a base for our back-end work to continue off of.

      In addition, this ticket will serve as an area where best practices regarding Django web app development will be.

      This ticket's goal is a simple text box asking for user input that will return a URL.

        Attachments

          Activity

          Hide
          aloraine Ann Loraine added a comment -

          Irvin Naylor : made a new app "trackhub"

          Show
          aloraine Ann Loraine added a comment - Irvin Naylor : made a new app "trackhub"
          Hide
          inaylor Irvin Naylor added a comment - - edited

          As of now, the initial architecture involving the main user-facing screen is now complete with a basic HTML mockup and a form for the user to enter data. That data can now be sent to the next app in the web app's pipeline (the link generator as detailed in Chirag's diagram.) As of now, hitting "Go" on the form will cause a 404 for the moment as the data is not in use yet.

          However, I think that we are in a good spot to move on with the converter and link generator phases of the app, wherein which the URL entered by the user will be used by the larger app.

          I've attached a basic screenshot of what should happen when testing the page.

          Link to my fork: https://bitbucket.org/Inaylor01/track-hub-converter-webapp_dev/src/IGBF-2859/

          Testing instructions:

          • After downloading the files, open a bash terminal and cd into the trackhub's igb_trackhub directory
          • enter the command py manage.py runserver
          • Navigate to http://127.0.0.1:8000/trackhub/
          • The site should now show up.

          Below I will also be sharing some of the resources that have been pretty helpful to me in learning more about Django, particularly with form processing and HTML Get/Post requests.

          Show
          inaylor Irvin Naylor added a comment - - edited As of now, the initial architecture involving the main user-facing screen is now complete with a basic HTML mockup and a form for the user to enter data. That data can now be sent to the next app in the web app's pipeline (the link generator as detailed in Chirag's diagram.) As of now, hitting "Go" on the form will cause a 404 for the moment as the data is not in use yet. However, I think that we are in a good spot to move on with the converter and link generator phases of the app, wherein which the URL entered by the user will be used by the larger app. I've attached a basic screenshot of what should happen when testing the page. Link to my fork: https://bitbucket.org/Inaylor01/track-hub-converter-webapp_dev/src/IGBF-2859/ Testing instructions: After downloading the files, open a bash terminal and cd into the trackhub's igb_trackhub directory enter the command py manage.py runserver Navigate to http://127.0.0.1:8000/trackhub/ The site should now show up. Below I will also be sharing some of the resources that have been pretty helpful to me in learning more about Django, particularly with form processing and HTML Get/Post requests. https://docs.djangoproject.com/en/3.1/topics/forms/ https://www.tutorialspoint.com/django/django_form_processing.htm https://www.pythoncentral.io/how-to-use-python-django-forms/ https://youtu.be/qDwdMDQ8oX4 (This will be useful for passing data in and out of the webpages displayed to the user)
          Hide
          omarne Omkar Marne added a comment - - edited

          Tested the local server link for http://127.0.0.1:8000/trackhub/

          Works fine. We can now start working on further steps of conversion of files and add a little design input.

          Irvin you can go ahead and submit a pull request.

          Show
          omarne Omkar Marne added a comment - - edited Tested the local server link for http://127.0.0.1:8000/trackhub/ Works fine. We can now start working on further steps of conversion of files and add a little design input. Irvin you can go ahead and submit a pull request.

            People

            • Assignee:
              inaylor Irvin Naylor
              Reporter:
              inaylor Irvin Naylor
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: