Vision -> Rails app that should serve as an alternative to Speechify. Reads text / pdf / link and plays it back. Also supports mp3 download (for long texts).
Before running the project, make sure you have Ruby, Rails, and Node.js installed. This project uses Tailwind CSS, which requires Node.js for installation and updates.
To start the project, run these commands:
gem install bundler
- Installs Bundler to manage Ruby gems.bundle install
- Installs all the Ruby gems required by the project.yarn install
- Installs all necessary Node.js packages, including Tailwind CSS.rails db:create
- Creates the database.rails db:migrate
- Runs database migrations.rails db:seed
- Seeds the database with initial data.
To properly use Tailwind CSS in development, you need to start two processes:
bundle exec rails tailwindcss:watch
- Starts the Tailwind CLI to watch for changes in your CSS and rebuilds the styles. This is necessary for seeing style changes in real-time during development.rails s
- Starts the Rails server.
If you encounter issues where styles are not being applied, ensure the Tailwind CLI is actively watching your files. In some cases, you may need to restart the Tailwind process or clear your browser cache.