Browse Source

Fix `create-data-dir` script

Script created the `local_narratives` directory, whereas we now name this
`narratives`. I'd like to remove this script from the repo (and the npm-used
hook `postinstall`), as I don't think it's necessary,  but this will
require some more testing.
master
james hadfield 2 years ago
parent
commit
e972ff4e4c
  1. 1
      .npmignore
  2. 6
      scripts/create-data-dir.sh

1
.npmignore

@ -5,6 +5,7 @@ big_flu
/static/
s3/
/local_narratives/
/narratives/
### OSX ###
.DS_Store

6
scripts/create-data-dir.sh

@ -2,7 +2,7 @@ if ! [ -d "data" ]; then
echo "Creating empty data directory"
mkdir data
fi
if ! [ -d "local_narratives" ]; then
echo "Creating empty local_narratives directory"
mkdir local_narratives
if ! [ -d "narratives" ]; then
echo "Creating empty narratives directory"
mkdir narratives
fi
Loading…
Cancel
Save