mirror of
https://github.com/YunoHost-Apps/tiddlywiki_ynh.git
synced 2024-09-03 20:26:34 +02:00
Update install
This commit is contained in:
parent
120982f0db
commit
cb8704a138
1 changed files with 5 additions and 2 deletions
|
@ -96,11 +96,14 @@ ynh_system_user_create --username=$app --home_dir=$final_path
|
|||
#=================================================
|
||||
ynh_script_progression --message="Configuring TiddlyWiki..." --weight=2
|
||||
|
||||
mkdir /var/www/$app
|
||||
final_path=/var/www/$app
|
||||
pushd $final_path
|
||||
ynh_use_nodejs
|
||||
ynh_exec_as $app $ynh_node_load_PATH $ynh_npm install -g tiddlywiki
|
||||
#ynh_exec_as $app env $ynh_node_load_PATH tiddlywiki mynewwiki --init server
|
||||
npm install -g tiddlywiki
|
||||
tiddlywiki mynewwiki --init server
|
||||
#npm install -g tiddlywiki
|
||||
ynh_exec_as $app $ynh_node_load_PATH tiddlywiki mynewwiki --init server
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue