Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
2ea2bf27
authored
Apr 11, 2016
by
Pablo Molina
Committed by
Pablo Molina
Apr 11, 2016
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Updated install.sh using pushd and popd
parent
c6538a9d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
sails/install.sh
sails/install.sh
View file @
2ea2bf27
#!/bin/bash
# Nodejs install
sudo
apt-get update
sudo
apt-get install
-y
python-software-properties python g++ make
...
...
@@ -17,13 +19,17 @@ touch ./src/logs/my_log_file.log
mkdir
-p
./upload
# Server dependencies installation
cd
./src
&&
npm install
pushd
./src
npm install
popd
# Copy sails.io.js
cd
/tmp
&&
\
rm
-rf
sailstempapp
&&
\
sails new sailstempapp
&&
cp /tmp/sailstempapp/assets/js/dependecies/sails.io.js ./src/assets/app/js/lib/sails.io.js
pushd
/tmp
rm
-rf
sailstempapp
sails new sailstempapp
popd
mkdir
-p
./src/assets/app/js/lib/
cp /tmp/sailstempapp/assets/js/dependencies/sails.io.js ./src/assets/app/js/lib/
rm
-rf
/tmp/sailstempapp
# Link configuration file
...
...
@@ -32,4 +38,6 @@ ln ./conf/js/local.js ./src/assets/app/js/local.js
# Client dependencies installation
sudo
npm install
-g
bower
cd
./src/assets/app
&&
bower install
pushd
./src/assets/app
bower install
popd
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment