change README setup instructions for application startup

This commit is contained in:
aj heller
2012-12-17 14:03:02 -08:00
parent 31d131f6a6
commit 55f934e735

View File

@@ -42,17 +42,21 @@ Admin API
Example Setup Example Setup
----- -----
# setup your local environment
mkdir -p priv/tzdata
# download the timezone data files # download the timezone data files
wget 'ftp://ftp.iana.org/tz/tzdata-latest.tar.gz' wget 'ftp://ftp.iana.org/tz/tzdata-latest.tar.gz'
tar -xvzf tzdata-latest.tar.gz -C /path/to/tzdata tar -xvzf tzdata-latest.tar.gz -C priv/tzdata
# remove a few troublesome files # remove a few troublesome files
cd /path/to/tzdata cd priv/tzdata
rm *.sh *.gz *.tab factory Makefile rm *.sh *.gz *.tab factory Makefile
# build and run ezic # build and run ezic
cd -
make all run make all run
1> ezic:load("/path/to/tzdata"). 1> application:start(ezic).
2> ezic:localtime("Australia/Adelaide"). 2> ezic:localtime("Australia/Adelaide").