GithubHelp home page GithubHelp logo

fostermadeco / development-standard Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 103 KB

[DEPRECATED] Base files for provisioning a standard development environment

Shell 87.01% Vim Script 12.55% Jinja 0.44%

development-standard's People

Contributors

alexmglover avatar jkim01 avatar kellypacker avatar likeuntomurphy avatar smaida avatar stevenmhernandez avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

development-standard's Issues

SSH auth hangs

I spoke with @adam-winfree and he gave me a fix for this. This cropped up when I switched from trusty to 16.04. That being said, should we apply the fix to the default Vagrantfile, or just add info to the readme in case someone encounters the issue?

This was the fix:

config.vm.provider "virtualbox" do |vb| vb.customize ["modifyvm", :id, "--cableconnected1", "on"] end

Here is the issue thread regarding the fix: hashicorp/vagrant#8056

Deprecation warnings

[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use
'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions.
This feature will be removed in a future release. Deprecation warnings can be
disabled by setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: include is kept for backwards compatibility but usage is
discouraged. The module documentation details page may explain more about this
rationale.. This feature will be removed in a future release. Deprecation
warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.

On ssh navigate, user to project directory

Every time we go to work on a project we have to do vagrant ssh then cd /var/www/project. Can we automatically navigate to the project folder after sshing in? This would save an extra step every time. Also I get some questions of people forgetting to navigate to the folder and trying to run composer or npm commands.

Would it be appropriate for all projects? I can't think of one that I've worked on that it wouldn't be, but I'm assuming it would be easy to remove from the default setup for those projects it wouldn't make sense for.

Trust cert only if unverified

Use security verify-cert -c /usr/local/etc/ssl/certs/{{ hostname }}.crt to determine if a certificate is already trusted. If it is, do not add it again.

Change TLD

Do we relent in the face of Google and change .dev to something else? We already have to change it for Mailhog to be accessible.

Adjust permissions of /etc/ssl/private for browsersync

Add task to give "others" the permission to traverse /etc/ssl/private the directory and see the files inside it (sudo chmod o+x). This will allow browsersync to use /etc/ssl/private/{{ hostname }}.key so it will run with a valid ssl certificate.

"sudo: a password is required" error on "trust self-signed cert" task

This can be recreated by spinning up a box, then trying to re-provision.

This is the full error:

fatal: [default -> localhost]: FAILED! => {"changed": false, "failed": true, "module_stderr": "sudo: a password is required\n", "module_stdout": "", "msg": "MODULE FAILURE", "rc": 1}

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.