Download the PHP package ashleydawson/deskpro-hab without Composer

On this page you can find all versions of the php package ashleydawson/deskpro-hab. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package deskpro-hab

Deskpro Hab

Build Status

Hab(itat) is a virtual development environment bootstrapper for setting up and configuring a guest Vagrant instance. The Vagrant instance includes all development dependencies to run Deskpro and develop against it. Hab is designed for Linux and MacOS host machines.

Deskpro Hab VM SSH Screenshot

Installation

Please install both Vagrant and VirtualBox before using Hab.

Hab is packaged as a .phar and is used to bootstrap the virtual development infrastructure from within the Deskpro project.

Download the latest version hab.phar and place it within the root of your Deskpro project directory.

"Quick" Start Guide (Linux & MacOS)

  1. Install Vagrant and VirtualBox on your computer
  2. Clone the Deskpro repository
  3. Go to the Deskpro project root and download Hab to this location
  4. Initialise and update Git submodules by running git submodule init && git submodule update
  5. Run php ./hab.phar init to initialise Vagrant and provisioning scripts
  6. Run vagrant up
  7. Run vagrant ssh to access the virtual machine
  8. Download and install Composer globally on the virtual machine
  9. Run cd /var/www/deskpro/app/BUILD
  10. Run composer install -o
  11. Run cd /var/www/deskpro/www/assets/BUILD/web
  12. Run npm install (this could take a while)
  13. Run bower install --config.interactive=false --allow-root
  14. Run npm run gulp
  15. Run cd /var/www/deskpro/www/assets/BUILD/pub
  16. Run npm install (this could take a while)
  17. Run ASSET_SERVER_HOSTNAME=deskpro.local npm run dev to start the asset server
  18. In another terminal on the host machine (your computer)
  19. Run vagrant ssh to access the virtual machine as another session
  20. Run bin/install --install-source dev to install Deskpro, when prompted:
    • enter the project URL "http://deskpro.local/"
    • enter "127.0.0.1" as the database hostname and "root" as both the database username and password. The database name is "deskpro"
  21. Check that the asset_paths are pointed to deskpro.local:9666 in config/config.paths.php
  22. Add the following line to the bottom of config/advanced/config.settings.php:

  23. You should now be able to access Deskpro via http://deskpro.local/

Usage

To initialise the Vagrantfile, settings and provisioning scripts, run the init command:

This will install the necessary files ready to start your virtual machine using the standard Vagrant commands:

You can pass along several options to adjust the virtual machine instance settings that are subsequently stored in the hab.json file.

The options are as follows:

After Hab has been initialised you should exclude the following files from version control (usually by adding to a .gitignore file):

Once the VM is booted, you can then SSH into it and run the usual installation and setup scripts as described in the Deskpro setup instructions.

Note: When running the dev assets server, do the following to override the default hostname:

Assets server env. variables are as follows:

Note: To run the Deskpro test suite you will need to configure the application to use --login-path option for things like mysqldump, etc. as this will suppress the "password in command prompt is insecure" warnings. This is done by adding the --login-path=local option to the test configuration database parameters (after copying the .dist config):

Default Service Connectivity

Updating

The hab.phar package may be self updated using the following command:

After updating, you'd usually want to force initialise the modified bootstrap files:

Testing

You may run the Hab functional test suite using the following:


All versions of deskpro-hab with dependencies

PHP Build Version
Package Version
Requires php Version ^7.1
ext-json Version *
symfony/console Version ^4.2
symfony/filesystem Version ^4.2
padraic/phar-updater Version ^1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ashleydawson/deskpro-hab contains the following files

Loading the files please wait ....