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
30012267
authored
Apr 11, 2016
by
Pablo Molina
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
Actualizada documentación del cliente web.
parent
51132bc1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
63 deletions
sails/src/INSTALL.md
sails/src/README.md
sails/src/INSTALL.md
deleted
100644 → 0
View file @
51132bc1
# INSTALL
---
## Instalación previa
Instalar nodejs
```
sudo apt-get install python-software-properties python g++ make
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
```
(Sólo en Debian) Crear link simbólico por conflicto de nombre con el paquete para utilizar nodejs en lugar de node
```
sudo ln -s /usr/bin/nodejs /usr/bin/node
```
Instalar sails
```
npm -g install sails
```
Fuente: http://sailsjs.org/#/getStarted
## Descarga y configuración del proyecto
Descarga del proyecto
```
git clone http://scm.ujaen.es/softuno/pictogram.git
```
Acceder a la carpeta
`src`
del proyecto e instalar las dependencias definidas en
`package.json`
```
npm install
```
En carpeta
`src`
del proyecto levantar sails (comprobar en localhost:1337)
```
sails lift
```
O bien en modo consola para hacer pruebas (engloba a sails lift)
```
sails console
```
sails/src/README.md
View file @
30012267
#
sails_demo
#
Cliente web
a
[
Sails
](
http://sailsjs.org
)
application
# Run test
sais/src/$ mocha test/unit/
**
/
*
.js --timeout 30000
\ No newline at end of file
Este es el cliente web servido por Sails como aplicación por defecto. Para
instalar todas las dependencias sólo hay que ejecutar el script
[
install.sh
](
../install.sh
)
que se encuentra en el directorio del servidor.
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