Skip to content

Instantly share code, notes, and snippets.

@richardudovich
richardudovich / install-yarn.sh
Created August 18, 2018 14:38 — forked from yuhonas/install-yarn.sh
Install node & yarn on amazon linux
#!/usr/bin/env bash
# References
# -------------
# https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/setting-up-node-on-ec2-instance.html#w2ab1c23b7c10
# https://gist.github.com/sealocal/0cd468ba4f12cdada436aebe534b40da
set -xe
NODE_VERSION=v9.3.0
<?xml version="1.0" encoding="UTF-8"?>
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
<entity name="AFD\SMSBundle\Entity\Client\User" repository-class="AFD\SMSBundle\Entity\Client\UserRepository" table="client_user">
<id name="id" type="integer" column="id">
<generator strategy="AUTO" />
</id>
<field name="username" column="username" type="string" length="255" />
<?xml version="1.0" encoding="UTF-8"?>
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping
http://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
<entity name="AFD\SMSBundle\Entity\Client\Group" table="client_user_group">
<id name="id" type="integer" column="id">
<generator strategy="AUTO" />
</id>