changed the project name to yosog

This commit is contained in:
Yann Esposito (Yogsototh) 2014-03-29 19:07:17 +01:00
parent 04900df88b
commit 601a5c2368
4 changed files with 21 additions and 8 deletions

13
change-title.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
currentProjectName="yosog"
projectName="$1"
for fic in **/*; do
if [ -f $fic ]; then
if grep $currentProjectName>/dev/null 2>&1; then
else
perl -pi -e 's#'$currentProjectName'#'$projectName'#g' **/*
fi
fi
done

View file

@ -1,4 +1,4 @@
exec: ../dist/build/waiter/waiter
exec: ../dist/build/yosog/yosog
args:
- production
host: <<HOST-NOT-SET>>

View file

@ -1,20 +1,20 @@
Default: &defaults
database: waiter.sqlite3
database: yosog.sqlite3
poolsize: 10
Development:
<<: *defaults
Testing:
database: waiter_test.sqlite3
database: yosog_test.sqlite3
<<: *defaults
Staging:
database: waiter_staging.sqlite3
database: yosog_staging.sqlite3
poolsize: 100
<<: *defaults
Production:
database: waiter_production.sqlite3
database: yosog_production.sqlite3
poolsize: 100
<<: *defaults

View file

@ -11,7 +11,7 @@
# mv deploy/Procfile ./
#
# * Create an empty package.json
# echo '{ "name": "waiter", "version": "0.0.1", "dependencies": {} }' >> package.json
# echo '{ "name": "yosog", "version": "0.0.1", "dependencies": {} }' >> package.json
#
# Postgresql Yesod setup:
#
@ -78,7 +78,7 @@
# * add your web executable binary (referenced below) to the git repository
#
# git checkout deploy
# git add ./dist/build/waiter/waiter
# git add ./dist/build/yosog/yosog
# git commit -m deploy
#
# * push to Heroku
@ -87,4 +87,4 @@
# Heroku configuration that runs your app
web: ./dist/build/waiter/waiter production -p $PORT
web: ./dist/build/yosog/yosog production -p $PORT