comments for what I want this to be
This commit is contained in:
parent
a1b4cae7b4
commit
fae883df56
1 changed files with 23 additions and 1 deletions
|
|
@ -1,4 +1,25 @@
|
|||
#!/bin/bash
|
||||
#MAKE ME BETTER
|
||||
# see https://github.com/jamiew/git-friendly for more ideas
|
||||
|
||||
#maybe this should be two files
|
||||
#one which includes cloning diaspora/diaspora, and one that assumes you already cloned it yourself
|
||||
# maybe one script just calls another?
|
||||
|
||||
|
||||
#other ideas what we could do
|
||||
|
||||
#1. check that you have ruby installed, if not, point to wiki page and exit
|
||||
#2. check to see if we need sudo (generally, if it is a system ruby you need sudo, which you can check
|
||||
# if which ruby is /usr/bin/ruby, or does not have rvm in the path)
|
||||
#3 check if you have bundle installed and install it, and install with/without sudo if you need it
|
||||
|
||||
#check if you have mysql and/or postgres installed, point to wiki page if neither is found.
|
||||
#(maybe even switch database.yml if this is the case?)
|
||||
|
||||
#make it work if you have just cloned diapsora and want a quick setup, or
|
||||
#support magic install, like this http://docs.meteor.com/#quickstart
|
||||
|
||||
|
||||
# echo "downloading diaspora"
|
||||
#git clone git@github.com:diaspora/diaspora.git
|
||||
|
|
@ -20,3 +41,4 @@ echo "creating and migrating default database in config/database.yml. please wai
|
|||
rake db:create db:migrate --trace
|
||||
|
||||
echo "It worked! now start your server in development mode with 'rails s'"
|
||||
exit 0
|
||||
Loading…
Reference in a new issue