Example: http://www.mdedge.com/internalmedicinenews/clinical-edge
- This Week's Must Reads:
- Displays the most recent Clinical Edge summaries in the current publication.
- Limited to 5.
Example: http://www.mdedge.com/internalmedicinenews/clinical-edge
# Set the base image | |
FROM ubuntu | |
# Set config variables. | |
ENV NVM_DIR /root/.nvm | |
ENV NODE_VERSION 6.1.0 | |
# Replace shell with bash so we can source files. | |
RUN rm /bin/sh && ln -s /bin/bash /bin/sh |
# https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs | |
defaults: &defaults | |
docker: | |
- image: chrisroane/frontline-docker-image:0.0.4 | |
working_directory: ~/medstat | |
environment: | |
TZ: "/usr/share/zoneinfo/America/New_York" | |
version: 2 | |
jobs: |
# Set the base image | |
FROM ubuntu:16.04 | |
MAINTAINER Chris Roane <chris.roane@fourkitchens.com> | |
# This was started from the docker file here: | |
# https://hub.docker.com/r/fauria/lamp/~/dockerfile/ | |
RUN DEBIAN_FRONTEND=noninteractive | |
# Replace shell with bash so we can source files. | |
RUN rm /bin/sh && ln -s /bin/bash /bin/sh |
# Set the base image | |
FROM ubuntu:16.04 | |
MAINTAINER Chris Roane <chris.roane@fourkitchens.com> | |
# This was started from the docker file here: | |
# https://hub.docker.com/r/fauria/lamp/~/dockerfile/ | |
RUN DEBIAN_FRONTEND=noninteractive | |
# Replace shell with bash so we can source files. | |
RUN rm /bin/sh && ln -s /bin/bash /bin/sh |
ServerName localhost | |
Listen 8080 | |
<VirtualHost *:8080> | |
DocumentRoot /root/medstat/build | |
ServerName medstat.local | |
DirectoryIndex index.php index.html | |
<Directory /root/medstat/build> | |
Options FollowSymLinks |
# Set defaults to use for each job. | |
# https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs | |
defaults: &defaults | |
docker: | |
- image: chrisroane/frontline-docker-image:0.0.31 | |
working_directory: ~/medstat | |
environment: | |
TZ: "/usr/share/zoneinfo/America/New_York" | |
version: 2 |
#!/bin/bash | |
# Start mysql and create database. | |
sudo service mysql start | |
mysql -uroot -e "CREATE DATABASE circle_test" | |
set -ex | |
# Install the required node modules. | |
npm install |
# Set defaults to use for each job. | |
# https://circleci.com/docs/2.0/workflows/#using-workspaces-to-share-data-among-jobs | |
# To update the docker image, change the docker file in this repo: https://github.com/chrisroane/frontlinedocker | |
# Here is the docker hub repo: https://hub.docker.com/r/chrisroane/frontlinedocker/ | |
defaults: &defaults | |
docker: | |
- image: chrisroane/frontlinedocker:latest | |
working_directory: ~/medstat | |
environment: | |
TZ: "/usr/share/zoneinfo/America/New_York" |
#!/bin/bash | |
# Start mysql and create database. | |
sudo service mysql start | |
mysql -uroot -e "CREATE DATABASE circle_test" | |
set -ex | |
# Install the required node modules. | |
npm install |