About
Line of Thought is a minimalist social media app where every post is a single, impactful line. Users can share their thoughts, experiences, or goals but must keep each post to a short line of text—no more than 100 characters. Whether it's a fleeting idea or a profound statement, Line of Thought allows users to connect, inspire, and engage through the art of simplicity. Get creative, and say more with less.
Key Features
- Single-line writing: Share concise and impactful thoughts.
- Community engagement: Interact with other users through likes and comments.
- Profile pages: Showcase your writing and follow other users.
Future Features
- Post highlights: Discover popular and inspiring content.
- Private/public mode: Control the visibility of your posts.
- Streak system: Track your daily writing consistency.
- Customizable reminders: Stay motivated with personalized notifications.
- Dynamic emojis: Add personality to your posts.
Technologies and Tools Used
- Ruby on Rails
- PostgreSQL
- Devise
- Letter Opener
- RSpec
- Capybara
- Guard
- Faker
- Factory Bot
Getting Started
To include instructions in your GitHub README for setting up the project on someone else's machine, you’ll want to provide clear, step-by-step guidance. Here's how you can structure the setup instructions, including how to handle database seeding:
To get this project running on your local machine, follow these steps:
Ensure you have the following installed:
- Ruby (version 3.x)
- Rails (version 7.x)
- Node.js
- Yarn
- PostgreSQL (or your preferred database)
- Redis (if used)
-
Clone the repository:
git clone https://github.com/carisaelam/line-of-thought.git
-
Navigate into the project directory:
cd line-of-thought
-
Install Ruby dependencies:
bundle install
-
Install JavaScript dependencies:
yarn install
-
Set up the database:
rails db:setup
If you encounter errors related to existing records, you can reset the database:
rails db:drop db:create db:migrate db:seed
Note: If the seed file causes issues due to existing records, the
db:drop
command will delete all existing data. Adjust the seed file to handle duplicates if necessary. -
Precompile assets:
rails assets:precompile
-
Run the development server:
rails server
-
Open your browser: Navigate to
http://localhost:3000
to view the application.
Contributing Contributions are welcome! Please feel free to submit pull requests or issues.