Mothership: E-commerce for Humans
Mothership is open source web retail software, combining e-commerce with Electronic Point Of Sale (EPOS) into a single, unified platform. It is based on over 10 years experience, yet it is entirely new, containing zero legacy code, making it a perfect platform for developers.
It incorporates the full range of applications you'd expect to run an online store, with some rather nice surprises too. Here's an incomplete list of the headline functionality Mothership currently supports:
- CMS
- Inventory
- Shopping cart and checkout
- Stripe integration (with open architecture for other merchants)
- Excellent fulfilment process with printed documents and automated emails
- Returns
- Multiple currencies
- Multiple tax rates
- Gift vouchers
- Discount tokens
- Reports
Coming soon!
- Electronic Point of Sale (EPOS)
- Xero online accounts integration
- Campaign Monitor mailing list integration
A comprehensive Functionality Reference list is available on the Mothership Wiki.
System requirements
To set up Mothership using the installer, you must have the following:
- PHP 5.4.0 or higher
- MySQL 5.1.0 or higher
- Apache
- We cannot currently offer any guarantee that Mothership works with Nginx or other server software
- A Unix-like operating system (i.e. OSX, Linux, etc)
- Mothership will not work in a Windows environment at present
Recommended
- Composer
- Composer is a PHP dependency manager which can be downloaded from the Composer website.
- Composer is not required to install Mothership using the automatic installer, but will be required for keeping your installation up to date, or installing Mothership manually
- It is recommended that you install Composer globally
- Git
- We recommend using Git for version control, and this base installation takes the assumption that you are using Git to manage and track changes to your installation
Installation
There are two ways to install Mothership:
- Using the automatic installer
- Manually
To install, follow the instructions below. For more help, be sure to check out our wiki, or visit our forum.
The installer
To install Mothership using the installer:
- Download the installer
- Create an empty database
- Run
php <path to>mothership.phar
in the terminal
- Follow the instructions and answer the questions
Manually
- Run
composer create-project mothership-ec/mothership * <path to installation>
- Add your database details to
config/db.yml
- Run
bin/cog migrate:run
from the installation directory in the terminal
- Run
bin/cog asset:dump
and bin/cog asset:generate
from the installation directory in the terminal
- Run
chmod -R 777 tmp public logs data
from the installation directory in the terminal
- Run
bin/cog task:run user:create_admin
in your terminal to create the first admin user
Working on and contributing to this repository
To set up an environment to develop on this repository
- Clone the repo and install the dependencies using Composer
- Create a
config/local
directory
- Move all config files into this directory. Be sure not to commit any of these config files.
- Follow instructions from 3. onwards from the manual install guide above
- Be sure to follow our contribution guidelines and code of conduct