README updates
This commit is contained in:
parent
e5095093ec
commit
0628c88f80
1 changed files with 5 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
How to code in Metamaps
|
==How to code in Metamaps
|
||||||
|
|
||||||
Here are the important folders/files:
|
Here are the important folders/files:
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ app/assets/views/*.js.erb: Javascript that is called in response to, e.g., editi
|
||||||
Setting up the database:
|
Setting up the database:
|
||||||
|
|
||||||
1) Copy database.yml.default to database.yml
|
1) Copy database.yml.default to database.yml
|
||||||
- Then you'll need to figure out how to configure it to work with Postgresql (which you need to install - try Herokuapp's exe or app)
|
- Then you'll need to figure out how to configure it to work with Postgresql (which you need to install - try Herokuapp's exe or app)
|
||||||
2) In a terminal:
|
2) In a terminal:
|
||||||
$ rake db:create
|
$ rake db:create
|
||||||
$ rake db:migrate
|
$ rake db:migrate
|
||||||
|
@ -25,8 +25,9 @@ Setting up the database:
|
||||||
|
|
||||||
Running the server:
|
Running the server:
|
||||||
|
|
||||||
$rails s #runs the server
|
$rails s #runs the server
|
||||||
$rails c #gives you an interactive console
|
$
|
||||||
|
$rails c #gives you an interactive console
|
||||||
|
|
||||||
==Installing on Ubuntu
|
==Installing on Ubuntu
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue