web: vendor/bin/heroku-php-apache2 your/public/root
web: vendor/bin/heroku-php-nginx your/public/root
| # --------------------------------------------------------------------------- | |
| # | |
| # Description: This file holds all my BASH configurations and aliases | |
| # | |
| # Sections: | |
| # 1. Environment Configuration | |
| # 2. Make Terminal Better (remapping defaults and adding functionality) | |
| # 3. File and Folder Management | |
| # 4. Searching | |
| # 5. Process Management |
| <!DOCTYPE html> | |
| <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]--> | |
| <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]--> | |
| <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]--> | |
| <!--[if gt IE 8]><!--> | |
| <html class="no-js"> | |
| <!--<![endif]--> | |
| <head> | |
| <meta charset="utf-8"> |
| <div id="app"> | |
| </div> |
| (function(exports){ | |
| // your code goes here | |
| exports.test = function(){ | |
| return 'hello world' | |
| }; | |
| })(typeof exports === 'undefined'? this['mymodule']={}: exports); |
react-native init and enable react-native-push-notifications (helper YouTube video)remote notifications: remote notifications capabilitiesPushNotification.configure({
onRegister: token => {
const install = new Parse.Installation;| #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. | |
| ; #Warn ; Enable warnings to assist with detecting common errors. | |
| SendMode Input ; Recommended for new scripts due to its superior speed and reliability. | |
| SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. | |
| <^>!':: | |
| Send, `` | |
| Return |
| const express = require('express'); | |
| const ParseServer = require('parse-server').ParseServer; | |
| const app = express(); | |
| const { | |
| APP_ID, | |
| MASTER_KEY, | |
| MONGO_URI, | |
| SERVER_PORT, | |
| SERVER_URL |
| { | |
| "name": "parse-server", | |
| "scripts": { | |
| "start": "node index.js" | |
| }, | |
| "dependencies": { | |
| "parse-server": "*", | |
| "express": "*" | |
| } | |
| } |
| FROM node | |
| USER node | |
| ENV APP_ID someappid | |
| ENV MASTER_KEY somemasterkey | |
| # Connection strig to mongo db | |
| ENV MONGO_URI mongodb://mongo/test | |
| ENV SERVER_PORT 1337 | |
| # Don't forget to change to https if needed |