Skip to content
Snippets Groups Projects
Forked from project / project_browser
615 commits behind the upstream repository.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.

Setup on Acquia Cloud IDE

  1. Create your IDE and log in to it: bash acli ide:create --label="Project Browser"
  2. Suggest that you select "File => Open Workspace" and select /home/ide so you can view both the project-browser and project directories in the same workspace.
  3. Run:
    cd /home/ide
    git clone https://github.com/grasmash/project-browser.git
    cd project
    composer create-project acquia/drupal-minimal-project .
    composer config repositories.project-browser '{"type": "path", "url": "'../project-browser'", "options": {"symlink": true}}'
    composer require grasmash/drupal-project-browser
    drush si -y
    drush en project_browser -y
    drush cset system.logging error_level verbose -y
    drush uli
    # visit	/drupal-org-proxy/project to see all projects
    # visit /drupal-org-proxy/project/ctools to see ctools project
    # visit /admin/modules/browse 

Contributing

  1. Authenticate the IDE with GitHub:
    gh auth login
  2. Fork https://github.com/grasmash/project-browser:
    gh repo fork grasmash/project-browser
  3. Add your fork to the cloned repo in the IDE:
    cd /home/ide/project-browser
    git remote add [your-fork-name] [your-fork-url]
    git checkout master
    git branch --set-upstream-to [my-fork-name] master
  4. Install Svelte dependencies and start a "watch" process~
    cd sveltejs
    npm install
    npm run dev  
  5. Make your changes and commit:
    # Make sure you complile Svelte files into HTML, CSS, and JS.
    cd sveltejs && npm run build
    git add -A
    git commit -m "I did a thing"
    gh pr create

Changing the HTML, CSS, or JS files

Run: bash cd sveltejs npm dev