Git Product home page Git Product logo

tower's Introduction

DoSomething.org (Legacy Website) ๐Ÿ”ฅ

This was the Drupal 7 app which powered DoSomething.org and our international affiliates from 2013-2018. It was gradually replaced by Phoenix "Next", which first launched in 2017. This application was officially retired in January 2019.

License

ยฉ2019 DoSomething.org. DoSomething is free software, and may be redistributed under the terms specified in the LICENSE file. The name and logo for DoSomething.org are trademarks of Do Something, Inc and may not be used without permission.

tower's People

Contributors

angaither avatar blisteringherb avatar mirie avatar mshmsh5000 avatar pnasrat avatar sergiitk avatar sheyd avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

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

tower's Issues

Preinstall NFS in dosomething.vagrant role

Some devs use NFS mount in vagrant.
Without NFS software they get the following:

The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

mount -o 'vers=3,udp' 10.11.12.1:'/Users/chloelee/DoSomething.org/phoenix' /var/www/dev.dosomething.org

Stdout from the command:



Stderr from the command:

mount.nfs: requested NFS version or transport protocol is not supported

Running sudo apt-get install nfs-common nfs-kernel-server seems to fix the issue.

Improve Vagrant login

At the moment we have to add public key into authorized_keys and rebuild Vagrant box each time new dev joins us. This is not optimal.
This approach with SSH keys has been chosen due to a vagrant bug fixed in hashicorp/vagrant#5765.

We need to revisit this issue and find a way to log into non-default ssh user without provisioning it with the authorized keys.

Fix dosomething.nodejs key import

Discovered testing another change

fatal: [default]: FAILED! => {"changed": false, "failed": true, "msg": "Failed to validate the SSL certificate for deb.nodesource.com:443. Make sure your managed systems have a valid CA certificate installed. If the website serving the url uses SNI you need python >= 2.7.9 on your managed machine or you can install the `urllib3`, `pyopenssl`, `ndg-httpsclient`, and `pyasn1` python modules to perform SNI verification in python >= 2.6. You can use validate_certs=False if you do not need to confirm the servers identity but this is unsafe and not recommended. Paths checked for this platform: /etc/ssl/certs, /etc/pki/ca-trust/extracted/pem, /etc/pki/tls/certs, /usr/share/ca-certificates/cacert.org, /etc/ansible"}

Vagrant: app_user can't login to vagrant 1.7+

As of 1.7.4, vagrant uses it's own key for all ssh connections, including remote_user ansible statement:
https://docs.vagrantup.com/v2/provisioning/ansible.html

Vagrant 1.7+ automatically inserts a different

insecure keypair for each new VM created. The easiest way

to use the same keypair for all the machines is to disable

this feature and rely on the legacy insecure key.

config.ssh.insert_key = false

Because auhorized_keys doesn't contain vagrant key (which is generated on the fly), first task with remote_user: "{{ app_user }}" fails to connect.

Buy New Power Adapters for Conference Rooms

CasperJS 1.1.0-beta3 is always changed

changed: [default] => (item={'version': '1.1.0-beta3', 'name': 'casperjs'}) => {"changed": true, "item": {"name": "casperjs", "version": "1.1.0-beta3"}}

Fix vagrant up in repo

TASK [dosomething.mb-node : MB Node | Checkout Apps] ***************************
failed: [default] (item={u'repo': u'https://github.com/DoSomething/mb-logging-api.git', u'name': u'mb-logging-api'}) => {"cmd": "/usr/bin/git clone --origin origin https://github.com/DoSomething/mb-logging-api.git /var/www/mb-node/mb-logging-api", "failed": true, "item": {"name": "mb-logging-api", "repo": "https://github.com/DoSomething/mb-logging-api.git"}, "msg": "fatal: could not create work tree dir '/var/www/mb-node/mb-logging-api'.: Permission denied", "rc": 128, "stderr": "fatal: could not create work tree dir '/var/www/mb-node/mb-logging-api'.: Permission denied\n", "stdout": "", "stdout_lines": []}

ds.aliases on production

Seems like ds.aliases overrides website url on international.
This leads to issue with solr indexing. I manually removed the file, but wee need permanent solution for this issue.

Drupal build: composer task fails

DS build composer task fails with:

Your github oauth token for github.com contains invalid characters: ""

Seems like new composer doesn't ignore empty auth string in auth.json.

Deploy Vision to Amazon

https://github.com/dosomething/vision

I can set the application up (instructions are in the README regardless). It needs an HTTP port that it can bind too and a URL (vision.dosomething.org?) that Github can push data too + a Slackbot can make requests too.

It technically needs to run two applications (A slackbot and a web app) but they're very lightweight and won't need a lot of resources.

Let me know what else you guys need to know!

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.