13 lines
358 B
Bash
Executable File
13 lines
358 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Run this from the root directory of Luminotes's source. Note: This will nuke your database!
|
|
|
|
ORIG_PYTHONPATH="$PYTHONPATH"
|
|
export PYTHONPATH=.
|
|
python2.5 tools/initdb.py
|
|
export PYTHONPATH="$ORIG_PYTHONPATH"
|
|
cd ..
|
|
rm -f luminotes.tar.gz
|
|
tar cvfz luminotes.tar.gz --exclude=session --exclude="*.log" --exclude="*.pyc" --exclude=".*" luminotes
|
|
cd -
|