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: args:
- production - production
host: <<HOST-NOT-SET>> host: <<HOST-NOT-SET>>

View file

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

View file

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