CodeWithAloha / uipa

Helping submit, track, and share public records requests in Hawaii
http://uipa.org
MIT License
10 stars 6 forks source link

46 updated use GitHub codespaces #102

Closed kobebuckley closed 4 months ago

kobebuckley commented 4 months ago

Start a Fresh Codespace ( ~ 5 minutes )

  1. Open a new branch from an issue
  2. Click on the 'Code' Dropdown arrow
  3. Click on the '...' to the right of 'Codespaces'
  4. Select 'New with Options'
  5. Select the proper branch for the issue you will work on > region that is closest to you > then choose '8 core with 32 gb'
  6. Create Codespace & wait for everything to load ( around 5 minutes )
  7. A terminal should open that says ' Finishing up > Running postCreateCommand > and Running PostStartCommand'
  8. Once the 'PostStartCommand' has a Green checkmark > we then follow the next steps

Run the Codespace ( ~ 15 minutes )

Steps based on the 'Quick Start' guide from the 'Getting Started' documentation https://github.com/CodeWithAloha/uipa/blob/main/docs/Getting-Started.md

  1. In a terminal window, run docker ps. (if this is not running, then run docker-compose up)
  2. In another terminal window, yarn build.
  3. In another terminal window, run bash data/seed/init_db.sh.
  4. Enter your email address ( or random fake email ) > Enter a username > Enter at least a 9-character password
  5. In that same terminal window, run python manage.py runserver.
  6. Click on the 'Open in Browser' prompt on the bottom right of your codespace for http://127.0.0.1:8000/ .
tyliec commented 4 months ago

Can you re-open this PR against the main branch? The master branch is outdated and an artifact of UIPA.org v1.