- PEM file containing private key from AWS server.
- A domain to server
- GIT Bash (In Window, can't use command line tool or powershell).
Steps:
Disclaimer: The instructions are the collective efforts from a few places online. | |
Nothing here is my original. But I want to put them together in one place to save people from spending the same time as I did. | |
First off, bundle. | |
================== | |
1. cd to the project directory | |
2. Start the react-native packager if not started | |
3. Download the bundle to the asset folder: | |
curl "http://localhost:8081/index.android.bundle?platform=android" -o "android/app/src/main/assets/index.android.bundle" |
$ yarn add react-redux
store
then create file configureStore.js
in store
folder:import { createStore } from 'redux';
import reducers from '../reducers'
export default function configureStore(initialState) {
const store = createStore(
reducers,
There are two main modes to run the Let's Encrypt client (called Certbot
):
Webroot is better because it doesn't need to replace Nginx (to bind to port 80).
In the following, we're setting up mydomain.com
.
HTML is served from /var/www/mydomain
, and challenges are served from /var/www/letsencrypt
.
/* jshint node:true */ | |
/* eslint-env node */ | |
/* | |
* This will look at the current version of all of your dependencies and update your package.json | |
* with the specific version that you currently have in node_modules. This will save you from the | |
* sadness that is: DEPENDENCY MANAGEMENT | |
* | |
* Place this file in a folder that's a a sibling to your package.json and node_modules | |
* Then simply run: node scripts/package-strict |
In this guide you can find how to resolve the following issues.
Feel free to ask any questions in the comments section below.
package com.myapplication.extensions; | |
import android.util.Log; | |
import com.facebook.react.modules.network.OkHttpClientFactory; | |
import com.facebook.react.modules.network.OkHttpClientProvider; | |
import com.facebook.react.modules.network.ReactCookieJarContainer; | |
import java.security.SecureRandom; | |
import java.security.cert.CertificateException; |