Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryanckulp/white_bnb
White-labeled Airbnb
https://github.com/ryanckulp/white_bnb
Last synced: 2 months ago
JSON representation
White-labeled Airbnb
- Host: GitHub
- URL: https://github.com/ryanckulp/white_bnb
- Owner: ryanckulp
- License: mit
- Created: 2024-06-15T03:59:46.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-10-11T05:06:01.000Z (3 months ago)
- Last Synced: 2024-10-16T09:17:43.181Z (3 months ago)
- Language: HTML
- Size: 18.4 MB
- Stars: 12
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WhiteBnb
a simple property booking platform for branded destinations. #airbnbsucksdemo: https://hh.ryanckulp.com
## Installation
1. `bin/setup`## Development
```sh
bin/dev # uses foreman to boot server, frontend, and bg job queue
```To sync your project with the latest WhiteBnb improvements:
```sh
# one time only
git remote add white_bnb https://github.com/ryanckulp/white_bnb.git# when you notice WhiteBnb updates on GitHub
git pull
git fetch white_bnb
git merge white_bnb/master --allow-unrelated-histories
git checkout -b white_bnb_updates
git add .
git push white_bnb_updates
# use GitHub UI to handle conflicts
```## Testing
```sh
# headless
bundle exec rspec # run all tests inside spec/
bundle exec rspec spec/dir_name # run all tests inside given directory# headed (in a real browser)
HEADED=TRUE bundle exec rspec
```## Code Quality
clean code keeps projects manageable as they grow in complexity.
```sh
rubocop # checks your code against Ruby styling standards and calls out issues
rubocop -A # automatically fixes issues, can lead to false negatives
rubocop -a # automatically fixes "safe" issues, less aggressive than -A (uppercase)
```**Rubocop is an optional feature**, however it runs automatically during GitHub CI checks. if you don't want to enforce the Rubocop style guide, simply disable the `Rubocop Check` step inside `ci.yml`.
## Contributing
anyone is welcome to submit a PR with improvements of any kind.