Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Discourse
  3. Using ./launcher from Terminal

Using ./launcher from Terminal

Scheduled Pinned Locked Moved Discourse
5 Posts 3 Posters 726 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • brianbB Offline
      brianbB Offline
      brianb
      wrote on last edited by
      #1

      I want to run the import category file as shown on this discourse doc page https://meta.discourse.org/t/administrative-bulk-operations/118349#heading--8

      first thing is open a terminal and run

      cd /var/discourse
      ./launcher enter app
      

      then from the example

      rake import:file["category-export-2019-05-16-052430.json"]
      

      I've tried to figure it out but I'm not a great linux admin nor am I familiar at all with rails.

      Is it possible to use./launcher enter app
      command from the terminal launched by cloudron for discourse app?

      robiR girishG 2 Replies Last reply
      0
      • brianbB brianb

        I want to run the import category file as shown on this discourse doc page https://meta.discourse.org/t/administrative-bulk-operations/118349#heading--8

        first thing is open a terminal and run

        cd /var/discourse
        ./launcher enter app
        

        then from the example

        rake import:file["category-export-2019-05-16-052430.json"]
        

        I've tried to figure it out but I'm not a great linux admin nor am I familiar at all with rails.

        Is it possible to use./launcher enter app
        command from the terminal launched by cloudron for discourse app?

        robiR Offline
        robiR Offline
        robi
        wrote on last edited by
        #2

        @briankb-0 yes, you can use the app file manager to upload any files you need and the terminal to run the cli commands.

        Just check that you're in the right directories or use fill file paths.

        Conscious tech

        brianbB 1 Reply Last reply
        1
        • robiR robi

          @briankb-0 yes, you can use the app file manager to upload any files you need and the terminal to run the cli commands.

          Just check that you're in the right directories or use fill file paths.

          brianbB Offline
          brianbB Offline
          brianb
          wrote on last edited by
          #3

          @robi so what folder do I need to be in to run ./launcher enter app?

          This is from the Terminal of an instance of Discourse installed via Cloudron dashboard.

          robiR 1 Reply Last reply
          0
          • brianbB brianb

            @robi so what folder do I need to be in to run ./launcher enter app?

            This is from the Terminal of an instance of Discourse installed via Cloudron dashboard.

            robiR Offline
            robiR Offline
            robi
            wrote on last edited by
            #4

            @briankb-0 you can use ls and cd look around, or use the file manager to look around and find the launcher file that is executable then note it's directory.

            Once you launch the terminal it will drop you into /app/code which you can validate with pwd

            If you paste some screenshots, we can guide you from there.

            Conscious tech

            1 Reply Last reply
            0
            • brianbB brianb

              I want to run the import category file as shown on this discourse doc page https://meta.discourse.org/t/administrative-bulk-operations/118349#heading--8

              first thing is open a terminal and run

              cd /var/discourse
              ./launcher enter app
              

              then from the example

              rake import:file["category-export-2019-05-16-052430.json"]
              

              I've tried to figure it out but I'm not a great linux admin nor am I familiar at all with rails.

              Is it possible to use./launcher enter app
              command from the terminal launched by cloudron for discourse app?

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #5

              @briankb-0 the launcher script only works with Discourse's own packaging stuff i.e if you use https://github.com/discourse/discourse_docker . It does not work in Cloudron, we have our own packaging at git.cloudron.io/cloudron/discourse-app

              Generally, you should be able to do everything using rake or bundle exec since Discourse is just a rails app. See https://docs.cloudron.io/apps/discourse for some examples.

              1 Reply Last reply
              1
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Bookmarks
                • Search