TokyoScene is a web application designed to help users discover and explore live music events in Tokyo. Users can search for gigs, filter by genre, and view event details on an interactive map.
- Features
- Installation
- Usage
- Screenshots
- Contributing
- Search for Gigs: Users can search for live music events in Tokyo.
- Filter by Genre: Users can filter events by genre.
- Interactive Map: View event locations on an interactive map.
- User Dashboard: Personalised dashboard displaying user information, favourite genres, and favourite artists.
- Spotify Integration: Users can link their Spotify account to get gig recommendations based on their top genres.
- Chatrooms: Users can join chatrooms linked to a gig and interact with other users, provided they have registered for the event.
To get started with TokyoScene, follow these steps:
- Clone the repository:
git clone https://github.com/88valleys/tokyoscene.git cd tokyoscene
- Install dependencies:
bundle install yarn install
- Set up the database:
rails db:create rails db:migrate rails db:seed
- Set up environment variables:
Create a
.env
file in the root directory and add your environment variables:SPOTIFY_CLIENT_ID=your_spotify_client_id SPOTIFY_CLIENT_SECRET=your_spotify_client_secret MAPBOX_API_KEY=your_mapbox_api_key CLOUDINARY_URL=your_cloudinary_url
- Start the server:
rails server
- Visit the application:
Open your browser and go to
http://localhost:3000
.
To use the Spotify API features, you need a Spotify developer account. Follow these steps to set it up:
- Create a Spotify Developer Account:
- Go to the Spotify Developer Dashboard and log in with your Spotify account.
- Create a new application to get your
client_id
andclient_secret
.
- Set up environment variables:
- Add your
client_id
andclient_secret
to the.env
file as shown above.
- Add your
To use the interactive map features, you need a Mapbox API key. Follow these steps to set it up:
- Create a Mapbox Account:
- Go to the Mapbox website and sign up for an account.
- Create a new access token to get your
MAPBOX_API_KEY
.
- Set up environment variables:
- Add your
MAPBOX_API_KEY
to the.env
file as shown above.
- Add your
To use Cloudinary for image uploads, you need a Cloudinary URL. Follow these steps to set it up:
- Create a Cloudinary Account:
- Go to the Cloudinary website and sign up for an account.
- Get your
CLOUDINARY_URL
from the Cloudinary dashboard.
- Set up environment variables:
- Add your
CLOUDINARY_URL
to the.env
file as shown above.
- Add your
- Use the search bar to find live music events in Tokyo.
- Filter events by genre using the filter bar.
- View event details and locations on the interactive map.
- View your personalised dashboard with your upcoming events.
- Link your Spotify account for gig recommendations around Tokyo based on your music taste.
- View your favorite genres and artists.
Fetch and update band images using the Spotify API by running the following command:
bundle exec rake gigs:update_band_images
Here are some screenshots of the TokyoScene application:
We welcome contributions to TokyoScene! To contribute, follow these steps:
- Fork the repository: Click the "Fork" button at the top right of this page.
- Clone your fork:
git clone https://github.com/yourusername/tokyoscene.git cd tokyoscene
- Create a new branch:
git checkout -b feature/your-feature-name
- Make your changes: Implement your feature or fix the bug.
- Commit your changes:
git add . git commit -m "Add your commit message"
- Push to your fork:
git push origin feature/your-feature-name
- Create a pull request: Go to the original repository and click "New Pull Request".