Skip to content
This repository was archived by the owner on Mar 11, 2023. It is now read-only.

Commit 3620ecf

Browse files
authored
Merge pull request #8 from fryntiz/dev
Mejoras en Makefile
2 parents 0c844cc + c853ee8 commit 3620ecf

File tree

4 files changed

+51
-5
lines changed

4 files changed

+51
-5
lines changed

.gitignore

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,16 @@ Thumbs.db
1818
# composer itself is not needed
1919
composer.phar
2020

21+
# Módulos de NodeJS con npm
22+
/node_modules
23+
2124
# Mac DS_Store Files
2225
.DS_Store
2326

27+
# Papelera de Linux
28+
.trash
29+
.Trash
30+
2431
# phpunit itself is not needed
2532
phpunit.phar
2633
# local phpunit config
@@ -39,5 +46,37 @@ tests/chromedriver
3946
# local environment variables
4047
.env
4148

42-
49+
# Atom editor archivos de proyectos
4350
/.ropeproject
51+
52+
# Logs
53+
logs
54+
*.log
55+
56+
# Runtime data
57+
pids
58+
*.pid
59+
*.seed
60+
61+
# Directory for instrumented libs generated by jscoverage/JSCover
62+
lib-cov
63+
64+
# Coverage directory used by tools like istanbul
65+
coverage
66+
67+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
68+
.grunt
69+
70+
# node-waf configuration
71+
.lock-wscript
72+
73+
# Compiled binary addons (http://nodejs.org/api/addons.html)
74+
build/Release
75+
76+
# Dependency directory
77+
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
78+
node_modules
79+
80+
## File-based project format
81+
*.ipr
82+
*.iws

CITATION.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ below:
33

44
@Misc{,
55
author = {Raúl caro pastorino},
6-
organization = {toblerity.org},
6+
organization = {http://fryntiz.es},
77
title = {plantilla: descripción},
88
year = {2018},
99
url = "https://github.com/fryntiz/plantilla"

Makefile

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.PHONY: all test tests cs codecept pre_codecept post_codecept run_codecept \
22
fastcs fast phpcs docs api doc-src guide guia doc-src install db psql \
3-
clean permisos perm p requeriments req
3+
clean permisos perm p requeriments req dbfull dbh dbheroku
44

55
all: requeriments install db permisos
66

@@ -43,9 +43,16 @@ install:
4343
composer run-script post-create-project-cmd
4444

4545
db:
46+
db/load.sh
47+
48+
dbfull:
4649
db/create.sh
4750
db/load.sh
4851

52+
dbh dbheroku:
53+
heroku psql < db/plantilla.sql
54+
heroku psql < db/plantilla_datos.sql
55+
4956
psql:
5057
db/psql.sh
5158

@@ -60,7 +67,7 @@ permisos perm p:
6067
sudo chmod -R 777 runtime
6168
sudo chmod -R 775 web
6269
sudo chmod -R 777 web/assets
63-
bash -c 'yo=$(shell whoami) && sudo chown -R $${yo}:www-data . && echo $${yo}'
70+
bash -c 'yo=$(shell whoami) && sudo chown -R $${yo}:www-data .'
6471

6572
requeriments req:
6673
echo 'Instalando dependencias'

setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ PROYECT_NAME="$(echo $DIR | tr '[:upper:]' '[:lower:]' \
1212
| tr -cs '[:alnum:]' '_')"
1313

1414
sed -i s/plantilla/$PROYECT_NAME/g db/* config/* apache.conf codeception.yml \
15-
CITATION.txt README.md LICENSE
15+
Makefile CITATION.txt README.md LICENSE
1616

1717
mv 'apache.conf' "$PROYECT_NAME.conf"
1818
mv 'db/plantilla.sql' "db/$PROYECT_NAME.sql"

0 commit comments

Comments
 (0)