Code Monkey home page Code Monkey logo

wardendev's Introduction

wardendev

This development setup has only been tested on MacOS.

Requires:

  • Homebrew to make below installs simpler.
  • DDEV version 1.12.2 or higher.

Setup:

  • Create a new project directory.
  • clone fspdev into the .ddev directory git clone [email protected]:cdracars/wardendev.git .ddev
  • run ddev rm --unlist (only if you had previously installed this and need to move it)
  • run ddev start
  • After ddev has started run ddev exec composer install
  • Start working you slacker!

Note: If you have a password on your ssh keys you will need to do the below.

Add your SSH private key to the ssh-agent and store your passphrase in the keychain. If you created your key with a different name, or if you are adding an existing key that has a different name, replace id_rsa in the command with the name of your private key file.

$ ssh-add -K ~/.ssh/id_rsa

Also it may be needed to uncheck "Securely store Docker logins in macOS keychain" in Docker preferences.

MongoDB:

  • You can access the MongoDB Express web viewer by going to warden.ddev.site:8081
  • The mongo javascript cli is installed on the mongo db container.

Drupal Module Setup:

  • add warden settings to settings.php

$config['warden.settings']['warden_server_host_path'] = 'https://ddev-warden-web';

$config['warden.settings']['warden_allow_requests'] = true;

$config['warden.settings']['warden_public_allow_ips'] = 'SITE_IP_HERE';

Importing Sites:

  • Add site from the drupal side (SITEURL/admin/config/system/warden)
  • After adding site to warden run ddev share and copy the ngrok url
  • Go to warden site and edit site to use the ngrok URL instead of the imported one.

Note: Every ddev share will change the ngrok URL.

wardendev's People

Contributors

cdracars avatar

Watchers

 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.