https://github.com/davydovanton/hanami-project-template
Template repository for all new project
https://github.com/davydovanton/hanami-project-template
Last synced: 2 months ago
JSON representation
Template repository for all new project
- Host: GitHub
- URL: https://github.com/davydovanton/hanami-project-template
- Owner: davydovanton
- Created: 2020-04-13T14:12:42.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-18T21:39:40.000Z (over 2 years ago)
- Last Synced: 2025-03-29T06:01:33.551Z (3 months ago)
- Language: Ruby
- Size: 579 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hanami Project Template
## Start project
```
$ bundle
$ nmp i
```* Change `DATABASE_URL` in `.env.test` and in `.env.development`
```
$ HANAMI_ENV=test bundle exec hanami db create
$ HANAMI_ENV=test bundle exec hanami db migrate$ bundle exec hanami db create
$ bundle exec hanami db migrate$ bundle exec rspec
$ bundle exec haanmi s
```## CLI commands
```
$ bundle
$ nmp i
```##
```
$ HANAMI_ENV=test bundle exec hanami db create
$ HANAMI_ENV=test bundle exec hanami db migrate$ bundle exec hanami db create
$ bundle exec hanami db migrate$ bundle exec rspec
$ bundle exec haanmi s
```