This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Configuration: | |
DRUPAL_ROOT=/home/langgo/demo/langgo | |
DRUPAL_DIR=$DRUPAL_ROOT/sites/langgo | |
DB_BACKUP_FILE="https://raw.github.com/gist/5f39454c80939a29d425/f2045d53d15d41f2f8cfbc8570dfdb243667fb76/test.sql" | |
DRUSH_MAKE_FILE="https://raw.github.com/gist/b84fd6235b58779398c5/3324cbb4faa4d3c39a3af6b26ea7cf418c9ab00f/test.make" | |
ROOT_USER_NAME="root" | |
ROOT_USER_PASS="root" | |
DB_NAME="langgo_db" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Configuration: | |
PATH_CONFIG="$HOME/vietcoop" | |
FILE_ARG="$1" | |
#check file config | |
if [ ! -f "$PATH_CONFIG/$FILE_ARG" ] | |
then | |
echo -e "Not found file config at '$PATH_CONFIG/$FILE_ARG'" | |
exit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Configuration: | |
PATH_CONFIG="$HOME/vietcoop" | |
FILE_ARG="$1" | |
#check file config | |
if [ ! -f "$PATH_CONFIG/$FILE_ARG" ] | |
then | |
echo -e "Not found file config at '$PATH_CONFIG/$FILE_ARG'" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Lets just pretend your content type is "Event" with machine name "event" | |
$node = new stdClass(); | |
$node->type = 'event'; | |
node_object_prepare($node); | |
$node->title = "My event title"; | |
$node->language = LANGUAGE_NONE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service: "sadiavasio" | |
provider: "aws" | |
functions: | |
sadiavas: | |
handler: "index.graphql" | |
include: | |
- blog/ | |
events: | |
- http: | |
path: "blog/graphql" |