Giter Club home page Giter Club logo

gunilla's People

Contributors

gdethier avatar

Stargazers

 avatar

Watchers

 avatar  avatar

gunilla's Issues

Replace calls to docker composer by API calls

Currently, docker composer is called via an explicit process execution. Docker composer should be replaced by calls to Docker API. Indeed, the user of composer is simple enough to be replaced by a manual setup via the API.

Cache downloaded plugins and themes

Currently, 'download' action causes dependencies to be downloaded every time. Dependencies might be cached locally to prevent useless downloads. Same mechanism as Maven could be used: having a repository in user home folder, for instance '.gunilla/repo'.

Link workspace and config modules

Config is an abstraction of gunilla.json file which describes the workspace. So a Config object should not really be a singleton but rather a property of the workspace.

Add dump action

Dump would consist in:

  • Dumping the content of the DB into a local file
  • Copying data files from WP instance locally

The purpose is that it would be possible to restore the state of a WP setup after deleting and re-creating related docker instances.

Separate plugins/themes under development and dependencies

Currently, plugins/themes under development are mixed up with dependencies in the same folder. Source code of new themes/plugins should be clearly separated from dependencies to allow better and easier version control configuration (prevent versioning of dependencies code, etc).

A possible solution is to create a temp folder under which dependencies and developed themes/plugins are copied together before being pushed to the WP instance. The temp folder could then simply be ignored by the version control system.

Prototype templates

When creating a new theme prototype, a template might be provided to have starting point. A new 'add_prototype' action might be added which would take 2 arguments (options): the name of the prototype to add and the source folder. Workspace file should be updated.

Add explanation about multisite completion

  • Add explanation after multisite enable: go to Admin > Tools > Network Setup (.../wp-admin/network.php)
  • Add explanation before multisite complete: edit files following instructions provided in network creation page

Fix IP address of docker instances

IP addresses can change after machine reboot. This is annoying if the host was registered in hosts file (it must then be re-registered). Composer should create instances with fixed IP addresses.

Apply project rename

  • Replace occurrences of wplab by gunilla
  • Consider gnl as executable name (seems to be unused, according to apt at least)

Project template

When creating a new project, a template might be provided to have starting point. The 'init' action should accept an argument (options): the source folder of the template.

Gunilla configuration

A user-specific configuration file should be parsed at Gunilla startup to enable for instance the use of named prototype/project templates.

Example

[gunilla]
default_project_template=default
default_prototype_template=default

[project_templates]
default=/path/to/default/project/template

[prototype_templates]
default=/path/to/default/prototype/template

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.