1.0.1 • Published 6 years ago

adonisdocker v1.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

AdonisDocker

A simple helper to setup an AdonisJs Docker development environment.

Installation

npm install -g adonisdocker

This will give you access to the global copyadonisd script.

Usage

cd /path/to/project

copyadonisd

This will copy the the adonisd script and supporting docker files to your project.

++++

++++

Initialising

Now that the files have been copied to your project you need to run:

bash adonisd init

This command:

  • Looks for the AdonisJs ace script in your project root (will fail if it cannot be found).
  • Updates your .env file with the following:
    • HOST=0.0.0.0
    • PORT=8080
    • APP_PORT=80
    • DB_PORT=3306
    • DB_HOST=mysql
  • Makes the adonisd script executable

Starting the environment

Run:

adonisd start

This will boot the dev env. You can access your project at (default settings): http://localhost

1.0.1

6 years ago

1.0.0

6 years ago