Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gregmalcolm/beginnings
Fresh rails project bootstrap
https://github.com/gregmalcolm/beginnings
Last synced: about 2 months ago
JSON representation
Fresh rails project bootstrap
- Host: GitHub
- URL: https://github.com/gregmalcolm/beginnings
- Owner: gregmalcolm
- Created: 2016-02-06T03:00:27.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-08T03:27:42.000Z (almost 9 years ago)
- Last Synced: 2024-10-16T07:14:28.006Z (4 months ago)
- Language: Ruby
- Size: 89.8 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Beginnings
Brand new starter Rails app with the following:
* Rails 4.2## To get started
### Change the project name
* Remove the .git folder
* Rename the project:
```
http://stackoverflow.com/questions/20988813/how-to-rename-rails-4-app
```
* Rename the database
* Regenerate the secret token:
```
rails secret
```### Build it
```
createuser -r beginnings_development
createuser -r beginnings_test
bundle
rake db:create```
### Tests
Project is set up with cucumber, respec and teaspoon.
```
guard
```### Renaming the project
Caveat: You must be in the root folder and you must use snake case
```
bin/rename_project the_new_name
```Note: This script will leave the bin folder and .ruby_version alone.
Afterwards you’ll need to follow the steps above to recreate the databases