Skip to content

Latest commit

 

History

History
41 lines (35 loc) · 1.68 KB

installation.md

File metadata and controls

41 lines (35 loc) · 1.68 KB
title type order devless_version
Installation
guide
1
1.3.0

##Installation

Requirements

  • Database (MySQL, PostgreSQL, SQLSRV)
  • An HTTP server
  • PHP 5.6.10 or greater
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • Composer

One click Install

Deploy to Heroku You can choose to run our one-click deploy button to deploy the DevLess platform to Heroku for your apps.

Docker procedure

Recommended:

  • You will need Docker installed.
  • Run the following command on your terminal or command prompt
    docker run -p 4545:80 -d --restart always eddymens/devless.
  • You can now visit http://localhost:4545 in your browser of choice.
  • You may change the port 4545 to whichever one you prefer provided its available.

Local procedure

  • Clone the repo
    git clone https://github.com/DevlessTeam/DV-PHP-CORE.git
  • Change into directory
    cd DV-PHP-CORE
  • run composer install to grab dependecies. NB: Composer Required. Installing Composer
  • copy .env.example to .env cp .env.example .env and update the database options within the file
  • run migrations with ./devless migrate
  • ./devless serve

If everything goes smoothly you should be able to access the setup screen at localhost:8000

If you will need extra help setting up you may check out the Laravel installation guide as the DevLess core is based of Laravel.