Git Product home page Git Product logo

dreamfactory's Introduction

DreamFactory 2.0.1

Build Status License ![Gitter](https://badges.gitter.im/Join Chat.svg)

Overview

DreamFactory(โ„ข) is an open source REST API backend for mobile, web, and IoT applications. It is built on top of the Laravel framework, and as such retains the requirements of the [Laravel v5.1 framework]

  • Get powerful, reusable, documented APIs for SQL, NoSQL, files, email, push notifications and more. In seconds.
  • Use server-side scripts to easily customize API behavior at any endpoint, for both API requests and API responses.
  • Secure every API endpoint with user management, SSO authentication, role-based access control, OAuth and Active Directory integration.

Learn more at our website.

Documentation

Documentation for the platform can be found on the DreamFactory wiki.

Required software and extensions

Check our wiki installation page for the minimum software and extensions required for your system to successfully install and run DreamFactory 2.0.

Quick Setup

These instructions allow you to quickly install DreamFactory 2.0 on your system and try it out. The commands shown here are primarily for a Linux based OS, but this should also work on Windows with all the required software and extensions installed.

Note: This quick setup instruction assumes that you are familiar with composer, git and the basics of how to setup a web and database server.

  • Clone this repository to a directory on your system.

git clone https://github.com/dreamfactorysoftware/dreamfactory.git ~/df2

  • Change directory.

cd ~/df2

  • Install dependencies using composer.

composer install --no-dev

  • Run DreamFactory setup wizard. First time running this will create your system environment file (.env), generate application key, and will prompt you to configure your Database.

php artisan dreamfactory:setup

  • Run the above command again to complete the setup process. This time it will run the database schema migration, seed the default services, and will prompt you to create your admin user account.

php artisan dreamfactory:setup

  • Make sure your web server can read/write from/to storage/ (sub directories) and bootstrap/cache/ directories.

Example:

sudo chown -R {www user}:{your user group} storage/ bootstrap/cache/
sudo chmod -R 2775 storage/ bootstrap/cache/

  • Run the following command to try out DreamFactory 2.0 without configuring a Database and Web Server.

php artisan serve

Connecting to another Database Server after initial setup

To connect to a different Database Server after initial setup...

  • Edit the .env file at the installation root and change the following configuration.

DB_DRIVER=mysql ## Supported drivers are sqlite (default), mysql, pgsql
DB_HOST=localhost
DB_DATABASE=dreamfactory
DB_USERNAME=username
DB_PASSWORD=secret
DB_PORT=3306

  • Run following command to clear system cache.

php artisan cache:clear

  • Run DreamFactory setup wizard.

php artisan dreamfactory:setup

  • Make sure your web server can read/write from/to storage/ (sub directories) and bootstrap/cache/ directories.

Example:

sudo chown -R {www user}:{your user group} storage/ bootstrap/cache/
sudo chmod -R 2775 storage/ bootstrap/cache/

  • Configure your web server to serve the public/ directory and launch your instance from a browser.

Note: The default composer.json has the more common package additions listed. To see all available packages, see the composer.json-all-dist. Likewise to see the minimum required packages, see the composer.json-min-dist.

Feedback and Contributions

  • Feedback is welcome on our forum or in the form of pull requests and/or issues.
  • Contributions should generally follow the strategy outlined in "Contributing to a project"
  • All pull requests must be in a "git flow" feature branch to be considered.

dreamfactory's People

Contributors

davidweiner-df avatar df-arif avatar df-jablan avatar javascriptboss99 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.