Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • You can find the commands to update requirements, migrations, and assets in the provisioning scripts.

    • For example, here is the LMS provisioning script with the paver commands.

    • Most other services use this IDA provisioning script with the following make commands instead of paver:

      • Code Block
        make requirements
        make migrate
        make static
      • Note: As in the LMS example above, it is faster to only run the commands as you need them.

    • If you do need to provision, since it takes so long, the above commands can help you pick up from where you left off if it fails after a lot of work.

  • Run attach to see logs and restart a service as needed (or see if it auto-restarts).

    • Code Block
      # from devstack directory
      make lms-attach
    • Use CTRL-C to restart the service.

      • Be patient. Using CTRL-C twice in a row will kill your container.

  • In the LMS shell, you can use TAB to autocomplete (you may need to hit TAB twice) for paver commands, if you can’t remember them.

  • Use make stop instead of make down when you shut down devstack, so you can keep recent bash history. Only use make down when you intentionally want to start over.

...