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
503de99b
authored
Jan 13, 2017
by
Sebastián Collado Montañez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
issue #716 sobre ansible, ahora tambien establece el keymap de la maquina en ES
parent
8f1ecc7d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
sails/Vagrantfile
sails/bootstrap.sh
sails/install.sh
sails/Vagrantfile
View file @
503de99b
...
...
@@ -5,8 +5,6 @@ Vagrant.configure(2) do |config|
# "ubuntu/trusty64" for ubuntu environment
# "boxcutter/centos72" for AWS similar environment
config
.
vm
.
box
=
"aspyatkin/ubuntu-16.04-server-amd64"
# Set locale UTF-8
ENV
[
'LC_ALL'
]
=
"en_US.UTF-8"
config
.
vm
.
network
"forwarded_port"
,
guest:
1337
,
host:
1337
config
.
vm
.
network
"forwarded_port"
,
guest:
80
,
host:
8080
config
.
ssh
.
insert_key
=
false
...
...
sails/bootstrap.sh
View file @
503de99b
#!/bin/bash
# running pictogram server
echo
"-- Running pictogram server"
if
[
-e
"src/app.js"
]
;
then
cd
src
&&
forever start app.js
--debug
...
...
sails/install.sh
View file @
503de99b
#!/bin/bash
# keymap and system encoding
sudo
localectl set-keymap es
export
LANG
=
en_US.UTF-8
# installing ansible
echo
"-- Installing ansible"
if
[
-e
"/usr/bin/apt-get"
]
;
then
echo
"-- Installing using apt-get"
...
...
@@ -16,6 +21,7 @@ else
exit
fi
# running ansible
echo
"-- Running ansible playbook"
function
runAnsiblePlaybook
{
echo
"-- Running playbook from
$(
pwd
)
"
...
...
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