Change 'npm link' to 'npm install'. It does the same but doesn't need root permissions and it's able to check which dependencies are already installed
This commit is contained in:
parent
cc7ce0ca4c
commit
1f0353d680
2 changed files with 5 additions and 2 deletions
|
@ -20,14 +20,14 @@ Visit <http://pitapoison.de:9001> to test it live
|
||||||
2. Install npm `curl http://npmjs.org/install.sh | sh`
|
2. Install npm `curl http://npmjs.org/install.sh | sh`
|
||||||
3. Ensure you have installed the sqlite develob libraries, gzip and git `apt-get install libsqlite3-dev gzip git-core`
|
3. Ensure you have installed the sqlite develob libraries, gzip and git `apt-get install libsqlite3-dev gzip git-core`
|
||||||
4. Clone the git repository `git clone 'git://github.com/Pita/etherpad-lite.git'`
|
4. Clone the git repository `git clone 'git://github.com/Pita/etherpad-lite.git'`
|
||||||
5. Install the dependencies `cd etherpad-lite && npm link`
|
5. Install the dependencies `cd etherpad-lite && npm install`
|
||||||
6. Start it with `bin/run.sh`
|
6. Start it with `bin/run.sh`
|
||||||
7. Open your web browser and visit <http://localhost:9001>
|
7. Open your web browser and visit <http://localhost:9001>
|
||||||
|
|
||||||
# Next Steps
|
# Next Steps
|
||||||
You can modify the settings in the file settings.json
|
You can modify the settings in the file settings.json
|
||||||
|
|
||||||
You can update to the latest version with `git pull origin && npm link`
|
You can update to the latest version with `git pull origin && npm install`
|
||||||
|
|
||||||
You can debug with `bin/runDebug.sh`
|
You can debug with `bin/runDebug.sh`
|
||||||
|
|
||||||
|
|
|
@ -34,6 +34,9 @@ if [ ! -f "settings.json" ]; then
|
||||||
cp -v settings.json.template settings.json
|
cp -v settings.json.template settings.json
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "Ensure that all dependencies are up to date..."
|
||||||
|
npm install
|
||||||
|
|
||||||
#Remove all minified data to force node creating it new
|
#Remove all minified data to force node creating it new
|
||||||
echo "Clear minfified cache..."
|
echo "Clear minfified cache..."
|
||||||
rm var/minified* 2> /dev/null
|
rm var/minified* 2> /dev/null
|
||||||
|
|
Loading…
Reference in a new issue