start new:
tmux
start new with session name:
tmux new -s myname
#!/bin/bash | |
SCHEMA="support_mozilla_com.2013.07.17.schema.sql" | |
DATA="support_mozilla_com.2013.07.17.data.sql" | |
SIZE="$(du $DATA | awk '{ print $1 }')K" | |
DBNAME="kitsune" | |
{ | |
echo "Dropping/creating database ${DBNAME}" >&2 | |
echo "DROP DATABASE IF EXISTS ${DBNAME};" |
Follow this guide to integrate bar chart reports into your Laravel application. Reports like the following come with this guide:
The library used for the charts is: http://www.oesmith.co.uk/morris.js/
First put this into your page that will have the reports (in the Blade view) to include Morris library:
set :application, 'my_app_name' | |
set :repo_url, '[email protected]:me/my_repo.git' | |
set :branch, :master | |
set :deploy_to, -> { "/srv/www/#{fetch(:application)}" } | |
set :log_level, :info | |
set :linked_files, fetch(:linked_files, []).push('.env') | |
set :linked_dirs, fetch(:linked_dirs, []).push('web/app/uploads') | |
namespace :deploy do | |
desc 'Restart application' |