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/bash | |
# Author: Brad Bird | |
# Website: http://bradders.rocks | |
# Email: hello@bradders.rocks | |
# Instructions | |
# 0. Place this file in the root directory of your Ionic app | |
# 1. If you haven't made a keystore file go here https://developer.android.com/studio/publish/app-signing.html#signing-manually | |
# 2. Place your .keystore file in the root directory |
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
#!/usr/bin/env bash | |
# Run the following command before this script is run. | |
# This would normally go in your travis.yml before_install: config. | |
# | |
# chmod -x travis-install-mysql-5.7.sh | |
# | |
# Install MySQL 5.7. | |
sudo service mysql stop || echo "mysql not stopped" |
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
version: '3.5' | |
services: | |
jdtv-reactjs: | |
container_name: jdtv-reactjs | |
stdin_open: true | |
tty: true | |
environment: | |
- NODE_ENV=local | |
- PORT=3000 |
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
# Set base Docker image | |
FROM node:13.12.0-alpine as build | |
# Set working directory within Docker image | |
WORKDIR /var/app | |
# Install NPM packages and copy | |
COPY . . | |
RUN rm -rf node_modules | |
RUN npm ci |