Git Product home page Git Product logo

my-sites-ide's People

Contributors

yiendos avatar

Watchers

 avatar  avatar

my-sites-ide's Issues

Go for launch

We need to update the README with more precise steps about running globally, not just from checkout.

We need to hook up packagist.

Remove db aliases from WP commands

Whoops db has worked its way into the Wordpress commands. This is only useful for inter-docker container communication. db_host should in fact be 127.0.0.1

highlight easy of CI integration

Well this whole thing came from docker integration into CI systems. Let's at least demonstrate through github actions how easy it is to set up this process.

Start to create pluggable architecture

So we've got loads of plugins that we could develop, lets experiments and see how we can extend the base functionlity of the IDE via a plugin architecture.

backport Wordpress commands from dashboard

Just to make things a bit more fun, lets introduce one example application set of commands:

 wordpress
  wordpress:create  Create a WordPress site
  wordpress:delete  Nuke an existing site
  wordpress:vhost   Creates a new Apache2 and/or Nginx virtual host

These already exist under the dashboard project, lets launch them here.

Strip back even more to basics

You know trying to set up nfs file sharing and dnsmasq localhost names is all well and good, but it ties us heavy into the Mac OS operating system, and docker is supposed to be ubiquitous across the platform. Therefore learning lessons from:
#3

Strip away any further fluff that will just make it harder for people to test out my-sites-ide.

The scripts can still be shared around, via wiki knowledge / help section. But it will be up to the end user to configure to their needs

demo pages

Give Johan a demo of a Joomla! + page site

Allow user choice for Sites and Projects folder

At present the use of /Sites/ and /Projects is mandatory. If the ide is meant to be a pluggable infrastructure not all clients will want that folder structure.

So instead of hardcoding both folders, how about we scan the site for a hidden folder.

.my-site-sites

.my-sites-projects 

Finding this file in a folder will set Sites and Projects dynamically.

Reduce overhead, master images

At present we are creating images per my-sites-ide project... pretty soon you'll land up with lots of images.

When we call mysites setup. We should look to see whether the base images exist:

  • mysites_apache
  • mysites_nginx
  • mysites_php_fpm

If they do not exist, well go ahead and create them. If they do exist and -b option is passed in:

mysites setup -b

Then the base images will be re-built.

Therefore the docker-compose.yml file that we create on setup shouldn't contain build, but rather image declarations.

my-sites-ide:setup recursion bug

Because set up [project-name] setup could be done within the same folder _mysites and the my-sites-ide is a checked out version from the repository, it is possible to attempt to copy the _mysites into the very same _mysites folder. Recursion city.

Prevent this bug from happening.

Make IDE compatible with Arm 64 chip architecture

Following on from waseem's testing, the only part of the stack that fails for ARM chips is the mysql:5.7 image. Seems that support for ARM has only come for mysql:8.0+:
https://hub.docker.com/layers/mysql/library/mysql/8.0.23/images/sha256-d5ba356f580dce71bebfc9fb0cd29b446cfb3aedff699fa9a1e34c2ffc88dd13?context=explore

This does have some knock on consequences for joomla:
https://docs.joomla.org/Joomla_and_MySQL_8

But nothing we can't get passed.

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.