Code Monkey home page Code Monkey logo

mautic-vagrant's Introduction

๐Ÿ‘Š Mautic on Vagrant: MADE MAGICALLY EASY!

Mautic is a great tool; I hope if you're here, you already knew that. Either way, this repository is for anyone wanting to harness the power of Mautic, pretty much anywhere; without a hiccup or delay and crave a 'right here, right now' type-solution to their dreams of becoming the next 'over-night millionaire.' Just kidding...(but seriously while this tool won't make you millions over-night, it will help to get you moving the right direction.)

I (@ran-dall) started this project as started as an effort to help new and existing Mautic users set up a Mautic instance on different cloud providers and their local machines for testing/demonstration purposes.

These set-ups are not intended to follow all of what may be considered best-practices by your specific cloud provider, but the effort is made to follow Vagrant best-practices. Sometimes those efforts are hindered by the capabilities of the plugins available for the specific cloud provider.

Below you'll find the revalant notes and caveats for each set-up.


Note: Currently, this project only supports setting up in a local-environment on Virutal-Box. However, I intend to add more providers soon.


Local Environment (Virtual-Box)

Caveats

Vagrantfile
provisioners/install-mautic-system.sh
  • To create the MariaDB database needed by Mautic, you need to supply a database name (DBNAME ), host (DBHOST), user (DBUSER ), and password (DBPASSWD ). All the required variables have already set for you in the provisioning script as follows, feel free to change the values as you see fit (and you know what you're doing).
    • DBHOST=localhost
    • DBNAME=mauticdb
    • DBUSER=mauticuser
    • DBPASSWD=mauticpwd

Notes

  • Basic SSL has been implemented for localhost to fullfill the miniumum deployment requirements. Access https:// to bypass any Mautic installation warnings.

    Initalize

    Clone repo and run vagrant up in project root directory.

mautic-vagrant's People

Contributors

darh avatar ran-dall avatar virgilwashere avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mautic-vagrant's Issues

refactor bash scripts

Are you interested in updated shell scripts?

(refactor) ๐Ÿ‘Œ install-mautic.sh

- [x] โšก๏ธ improve permission update speed
- [x] ๐Ÿ‘Œ  update ownership and permissions
- [x] ๐Ÿ”จ refactor with variables
- [x] ๐ŸŽจ bash unofficial strict mode

- [x] ๐Ÿ’ฅ "set -o errexit" is in play
eg: partial diff
# "unofficial" bash strict mode
# See: http://redsymbol.net/articles/unofficial-bash-strict-mode
set -o errexit  # Exit when simple command fails               'set -e'
set -o errtrace # Exit on error inside any functions or subshells.
set -o nounset  # Trigger error when expanding unset variables 'set -u'
set -o pipefail # Do not hide errors within pipes              'set -o pipefail'
IFS=$'\n\t'

declare mautic_root='/var/www/mautic'
declare mautic_version='2.15.1'
declare www_user='www-data'

# Fix ownership and permissions of Mautic files
chown -fR "${www_user}":"${www_user}" "${mautic_root}"
find "${mautic_root}" -type d \! -perm /o+x -exec chmod -f 755 '{}' \;

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.