GithubHelp home page GithubHelp logo

bjarn / jale Goto Github PK

View Code? Open in Web Editor NEW
26.0 1.0 2.0 1 MB

Jale is a blazing fast local development environment for MacOS written in Typescript.

Home Page: https://npmjs.com/package/jale

License: GNU General Public License v3.0

JavaScript 0.03% TypeScript 99.97%
local environment development-environment nginx mysql php mariadb hacktoberfest

jale's Introduction

Jale Build Status

A blazing fast local development environment for MacOS* written in Typescript.
*soon to be cross-platform!

What is Jale?

Jale (Just Another Local Environment) allows you to setup a complete local development environment in just a couple of seconds. Literally the only thing you have to do is run jale install and you're done.

Walk through the installation steps, which allow you to select which PHP versions (multiple!) you'd like to run or which kind of database server (i.e. MySQL 5.6 or 8.0, but also MariaDB).

Jale is currently still under heavy development and not ready to be used as your daily driver. However, it works but lacks error messages, useful notices and yes, might contain bugs.

Services are using optimized configs (credits to Valet+) to improve the performance of your local development environment.

Why Jale?

It has a completely different approach compared to services like Laravel Valet and aims to be both flexible and performant.

Instead of using a single 'server.php' file which proxies every request, we just use Nginx configuration files per site. Don't be afraid though! We made it as easy as possible. It is also possible to select an optimized app template for i.e. Laravel, Magento or Wordpress (and more to come!).

Included services

The following services are currently installed by Jale. Services marked with a * are optional, you can uncheck them ;-).

  • Nginx
  • Dnsmasq
  • PHP (7.1, 7.2, 7.3, 7.4 and 8.0)
  • MySQL (MySQL 5.7, 8.0 and MariaDB)
  • Redis*
  • Elasticsearch*

Dev tools

The following development tools are included.

Migrating from...?

Are you migrating from Valet or Valet+? Check out the following wiki.

jale's People

Contributors

bjarn avatar dependabot[bot] avatar jellesiderius avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

jellesiderius

jale's Issues

Add self-updater

Add a self-update command to allow the user to easily update Jale.

Maybe also show a warning if Jale is outdated?

Project Nginx config

Currently it is possible to change the Nginx configuration in ~/.jale/sites/. However, it might be helpful to let this vhost check if there is any .jale.conf files in the project's root.

This allows Jale to have the same setup for the project for everyone who works on it. This is especially helpful when you work in themes. No additional commands required.

Nginx app templates

Add Nginx templates for certain apps. For example, if you have a local Magento 2 project, you'd like to apply a Magento 2 optimized Nginx configuration to just that site. For your Laravel project however, you want a Laravel optimized Nginx config.

Initial install UnhandledPromiseRejectionWarning

Describe the bug
A clear and concise description of what the bug is.
Whenever I run jale install, I get an unhandled promise rejection in the end and no configuration or logging is created.

To Reproduce
Steps to reproduce the behavior:

  1. Install jale globally with "npm install -g jale"
  2. Run jale install
  3. Choose domain: "test", Choose php7.4, Choose mysql8.0, Choose no services, Choose no tools/apps

Expected behavior
the install should finish normally

Screenshots
image

Desktop (please complete the following information):

  • OS: MacOS Big Sur
  • Terminal: iTerm
  • Shell: zsh
  • Jale version: 0.2.1

Jale version-file

Feature description:

A file which can be put in a project's root, e.g. 'jale.json' which contains various settings for the project. For example; the project requires PHP 7.3 and Elasticsearch 6. We will then switch Jale to those versions with just a quick use of jale use.

Improve messages

Improve messages. Currently they are hard to read and... boring.

Change domain extension

Make it possible to easily change your domain (e.g. .test) after the initial installation.

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.