This file contains hidden or 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
#Update the crucial options | |
UPDATE wp_options | |
SET option_value = 'http://newdomain.com' | |
WHERE option_name in ('siteurl', 'home'); | |
#Make sure search engines can access the deployed site | |
UPDATE wp_options | |
SET option_value = 1 | |
WHERE option_name = 'blog_public'; | |
#Set the GUIDs to have the correct domain | |
UPDATE wp_posts |
This file contains hidden or 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
#### Use nodejs v6.3.1 | |
# | |
FROM nodesource/xenial:6.3.1 | |
#### Update apt-get and install supervisor | |
# | |
RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - | |
RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list | |
RUN apt-get update | |
RUN apt-get install -y supervisor yarn |
This file contains hidden or 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" |
This file contains hidden or 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
import Mixin from './utils/mixin'; // see below | |
import Mixin1 from './mixins/mixin1'; | |
class App extends Mixin(React.Component, Mixin1) { // and so on: , Mixin2, Mixin3 | |
componentDidMount() { | |
// this.someFuncFromMixin1() | |
} | |
render () { | |
return ( | |
<div> |
This file contains hidden or 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
0 info it worked if it ends with ok | |
1 verbose cli [ '/Users/<user>/.nvm/versions/io.js/v3.2.0/bin/iojs', | |
1 verbose cli '/Users/<user>/.nvm/versions/io.js/v3.2.0/bin/npm', | |
1 verbose cli 'start' ] | |
2 info using [email protected] | |
3 info using [email protected] | |
4 verbose run-script [ 'prestart', 'start', 'poststart' ] | |
5 info prestart <App>@0.0.1 | |
6 info start <App>@0.0.1 | |
7 verbose unsafe-perm in lifecycle true |