Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
AWS_S3_BUCKET= | |
AWS_S3_ACCESS_KEY_ID= | |
AWS_S3_SECRET_ACCESS_KEY= |
Look at LSB init scripts for more information.
Copy to /etc/init.d
:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)
This is quite a 'classic' problem and the immediate thought ("just do it mySQL") doesn't work here because of the need to have the rails piece that encodes a password that is entered.
So you need to actually use rails, something like this (this should all be happening in your local development environment which is the default when working locally):
You need to create a user.
Try this:
cd the_root_of_the_project
#!/usr/bin/env bash | |
function dumpBundle { | |
FILE=$1 | |
OUTDIR=$2 | |
LZMADIR=$3 | |
OUTPATH="$OUTDIR/$FILE" | |
LZMAPATH="$LZMADIR/$FILE" | |
mkdir -p $(dirname "$OUTPATH") |
//Make sure you scroll down to get all data loaded | |
var text = ''; | |
$('.col-email').each(function(index,el) { | |
if (index == 0) { | |
text = 'Email, First Name, Last Name\n'; | |
} | |
else { | |
text = text + $.trim($(el).find("a").text()) + ','; | |
//First Name |
You should have some tools installed like Homebrew, a text editor such as Sublime Text and it's subl command line app inside a bin
folder and some basic terminal knowledge.
This gist is a more detailed version of niepi's gist with things that worked for me. It may help someone :)
$ brew install php --with-apache --with-mysql --with-pgsql --with-intl