Skip to content
View Myddleware's full-sized avatar

Block or report Myddleware

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
Myddleware/README.md

Myddleware

Welcome to the Myddleware community and thank you for joining us!

Codacy Badge GitHub release (latest by date) GitHub repo size GitHub top language GitHub package.json dependency version (prod) GitHub issues GitHub closed issues GitHub GitHub last commit GitHub contributors Website docsify GitHub followers YouTube Channel Views Open Source Agenda

Myddleware is the customisable free open-source platform that facilitates data migration and synchronisation between applications.

Create Myddleware "Customer" Rule View with WooCommerce Customers & Vtiger Opportunities modules

On our documentation website, you’ll find everything you’re looking for to master Myddleware, including step-by-step tutorials. You can also tailor Myddleware to your needs by creating you custom code. Please use our github to share it.

This community is ours : let’s all contribute, make it a friendly, helpful space where we can all find what we’re looking for!

Please don’t hide any precious skills from us, whether it is coding, translation, connectors creation, .... the list goes on! The whole community could then benefit from these!

Find us here : www.myddleware.com

We created it, you own it!

Install Myddleware

Download Myddleware

You can download Myddleware in 2 different ways :

Git clone

If you are familiar with Git, Github & command lines, you can clone our Github repository

Setting up the project

At the root of your webserver (for example /var/wwww/html), open a terminal and type the following command:

git clone [email protected]:Myddleware/myddleware.git 

or

git clone https://github.com/Myddleware/myddleware.git

Then, navigate to the newly created Myddleware folder with :

cd myddleware 

Install PHP dependencies with Composer

composer install 

Install Javascript libraries

yarn install 

Build assets

yarn build 

Donwload zip archive

Download the Myddleware zip file here

Installing from the archive

Once you've downloaded our ready-to-use Myddleware archive, you need to unzip it at the root of your webserver directory (for example /var/www/html). You can unzip it manually or using the following command :

unzip myddleware.zip -d <myddleware_dirname>

Docker install

You can use the Docker config files provided to install Myddleware if you want to reproduce our developer's environment or deploy it using Kubernetes for example.

Using the Myddleware Makefile

Make isn't available on Windows systems. If you want to use them on your Windows machine, you will need to set up WSL.

Various useful commands are available on our Makefile. For instance, you can use the following to build & run the Docker container for Myddleware :

## List all your Docker containers
make ps

## Run Myddleware with Docker Compose
make run-with-compose

## Run Myddleware with Docker
make build
make run

Build the Myddleware image with docker-compose (developer's mode)

Build the container locally

Run the following commands in your myddleware directory :

docker-compose up --build

This will build a Myddleware image containing the Myddleware container (PHP with Apache) as well as a Node.js container to handle assets and a MySQL container for your database.

Once the images are up and running, you need to go to the Node.js terminal and type :

yarn install
yarn build

Once your assets are built, you can now go to http://localhost:30080, where you should see the Myddleware homescreen.

To connect to the MySQL database, use the following credentials :

  • username : myddleware
  • database : myddleware
  • password : secret

Build the Myddleware image with Docker(developer's mode)

Build the container

If you choose to build Myddleware using Docker on its own, you will need to set up your database environment variables and connect Myddleware to it as this image doesn't provide a Myddleware database.

docker build . -t myddleware

Run

docker run -d -p 30080:80 myddleware

You can then access your Myddleware instance by going to http://localhost:30080/index.php

Setting up your Myddleware environment

At this stage, to set up Myddleware, you can either follow our installation wizard by going to your Myddleware URL or if you're comfortable with using a terminal, you can execute a series of commands.

Setup from the web browser

You need to go to the URL where Myddleware will be located, for instance : http://<yourdomain>.com/<myddlewarefolder>/myddleware/public/ From there, you need to click on "Install Myddleware" and follow the directions of the Installation Wizard.

Check requirements

Here, Myddleware will check whether your server meets all the requirements for Myddleware to be able to run (are there any missing PHP extensions ? are there any permissions issues ?)

Connect to your Myddleware database

Before proceeding to this step, please ensure you've already created the database you intend to use for Myddleware. Then you can fill in the form. Once you've saved & clicked next, Myddleware will attempt to connect to the database using the information you've provided. If there are any errors, a message will appear to let you know what went wrong. If everything is OK, you can continue to the next step.

Create your Myddleware admin user

Fill in the form to create your Myddleware credentials (email, username & password). Once this is done, you should be redirected to the Myddleware homepage.

Setup from a terminal

Create your environment file

At the root of your /myddleware directory, you need to create a .env.local file (it should be at the same level as the .env & .env.example files). If you've followed the installation from GitHub above, all you will need to do here is to fill in the .env.local file with the following information :

DATABASE_URL="mysql://username:password@host:port/dbname"
APP_ENV=prod
APP_DEBUG=false
APP_SECRET=ThisSecretIsNotSoSecretChangeIt
MAILER_URL=gmail://smtp.example.com:465?encryption=ssl&auth_mode=login&username=&password=

The DATABASE_URL variable will contain the values used by Myddleware to connect to your actual database, so you must replace each placeholder value with your credentials.

The MAILER_URL is optional. It is used by Myddleware to send you notification emails on some occasions such as when a task failed or some documents are in error. You need to configure it to match your SMTP server's credentials.

Contributing

Myddleware relies on the Symfony Framework, a free open-source PHP framework. If you would like to contribute to our source code, you can first familiarise yourself with the Symfony documentation

Myddleware is an Open Source community project. All contributions are welcome, no matter how big or small. There are many ways to contribute to the project. You can of course help us improve and debug our source code, but you can also start by simply reporting issues & bugs or suggesting new features on our GitHub Issues forum, or review and leave comments on Pull Requests.

If you would like to contribute to Myddleware source code, please refer to the developer's guide section of this documentation. We also kindly ask that you follow the Symfony Coding Standards to ensure uniformity and clarity of our source code across Myddleware. We recommend using the PHP CS Fixer tool to ensure these standards are respected across your contributed code.

Popular repositories Loading

  1. myddleware myddleware Public

    Myddleware is the customisable free open-source platform that facilitates data migration and synchonisation between applications.

    PHP 100 50

  2. moodle-local_myddleware moodle-local_myddleware Public

    Plugin Moodle for Myddleware

    PHP 8 6

  3. myddleware_api myddleware_api Public

    How to use Myddleware API

    PHP 1 2

  4. myddleware.github.io myddleware.github.io Public

    Myddleware's documentation

    HTML