This repository is intended to be run on a brand new computer.
Please note: macOS is our only supported environment.
- MacOS
- Git
Everything else will be installed for you.
<!DOCTYPE html> | |
<!-- | |
Copyright (c) 2012-2016 Adobe Systems Incorporated. All rights reserved. | |
Licensed to the Apache Software Foundation (ASF) under one | |
or more contributor license agreements. See the NOTICE file | |
distributed with this work for additional information | |
regarding copyright ownership. The ASF licenses this file | |
to you under the Apache License, Version 2.0 (the |
version: '2' | |
services: | |
consul: | |
image: smebberson/alpine-consul | |
consului: | |
image: smebberson/alpine-consul-ui | |
ports: | |
- 8500:8500 |
/** | |
* Helper function to create an api key | |
* @param {String} data The string to encrypt | |
* @return {String} The sha256 hash result | |
*/ | |
function createHmac (data) { | |
const crypto = require('crypto'); | |
const hmac = crypto.createHmac('sha256', config.get('appSecret')); | |
hmac.update(data); |
# Here is your stack preview | |
# You can make advanced changes like modifying your VM, | |
# installing packages, and running shell commands. | |
provider: | |
digitalocean: | |
access_token: '${var.digitalocean_access_token}' | |
resource: | |
digitalocean_droplet: |
'use strict'; | |
/** | |
* Member Api schema. | |
* @return {Object} Mongoose model object. | |
*/ | |
const memberApiSchema = () => { | |
const schema = new mongoose.Schema({ | |
active: { type: String, required: true, enum: ['true', 'false'] }, |
import React, { Component } from 'react'; | |
import PropTypes from 'prop-types'; | |
import { Alert, Box } from '@smooth-ui/core-sc'; | |
class DismissableAlert extends Component { | |
constructor (props) { | |
super(props); |