Giter VIP home page Giter VIP logo

cartomatic's Introduction

About

Open-source scenarios which helps you setup server for CS-Cart and Multi-Vendor. Current version is 1.0.0.

Features

  • HTTP/2 support
  • Performance tuning for highload
  • Deflate/GZIP compression
  • Google Pagespeed filters support
  • Well-looking error pages
  • Full-page Varnish cache
  • Strong SSL preferencies (A+ by default on SSL Labs)
  • Development environment based on Vagrant
  • Configurations for creating your own images based on Packer

Components

Cartomatic will install for you the latest versions of following software:

Please keep in mind that apps are still subject to change.

Running in production

If you already have your VPS/VDS and you want to try cartomatic in action, you should do following things:

Quick start

Log in to your server as superuser (root) via SSH and execute this command:

export CARTOMATIC_AUTO=true; curl -sL https://raw.githubusercontent.com/simtechdev/cartomatic/master/provision/shell/cartomatic-installer | bash -s -- yourdomain.tld

Done. It works.

Advanced
  1. Log in to your server as superuser (root) via SSH and execute this command.

    curl -sL https://raw.githubusercontent.com/simtechdev/cartomatic/master/provision/shell/cartomatic-installer | bash -s
    
  2. Clone repository into the workspace.

    git clone https://github.com/simtechdev/cartomatic
    
  3. Switch to the provision/ansible directory.

    cd cartomatic/provision/ansible/
    
  4. Put custom settings into the JSON file:

    vim config/manual.json
    
  5. Run provisioning:

    ansible-playbook lamp.yml -c local -e @config/manual.json
    

    Passwords will be saved in the credentials folder.

Running on virtual machine

Cartomatic well-works not only on production โ€“ you can use it for development or testing purposes using virtual machines which managed by Vagrant.

  1. Switch to the dev/ directory.

  2. Specify parameters into the 'config.yml' settings file:

    vms:
      centos6:
        box: centos6
        box_url: https://vagrant.smtk.us/centos/6/centos6.box
        ip: 10.0.0.10
    
    provision:
      ansible:
        playbook: "../provision/ansible/lamp.yml"
        extra_vars: "../provision/ansible/config/manual.json"
    

    You should specify amount of VMs which you want to launch for provisioning. Please read the instruction for building images if you want to create your own image instead of using self-hosted images.

  3. Run vagrant:

    vagrant up
    

    Please wait. It may takes from 5 to 15 minutes.

Building your own image

We use Packer configurations for building Vagrant images.

  1. Switch to build/ directory.

  2. Execute this command to build your own image:

    CentOS 6 x86_64

    packer build centos6.json
    

    Please wait. It takes from 15 to 30 minutes. Done.

  3. Add the resulting image into Vagrant using following command:

    vagrant box add NAME images/IMAGE_NAME.box
    

    In some cases you need to know root-password. Here it is: test123!

Supported platforms

  • CentOS / RedHat / Scientific Linux 6 x86_64

Restrictions

  • Not compatible with ISPManager, cPanel, Plesk etc.
  • Works well only for clean installations.

Status

Repository Status
Stable Build Status
Unstable Build Status

License

MIT

cartomatic's People

Contributors

gongled avatar incrize avatar vsguts avatar

Watchers

Alexander Ilyin avatar James Cloos avatar  avatar

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.