LinkShare is a platform built with Django for sharing links. It provides a user-friendly interface for users to share and discover interesting links on various topics.
- User registration and authentication: Users can create an account, log in, and manage their profile.
- Link submission: Registered users can submit links, including a title, description, and tags.
- Link browsing: Users can browse through a collection of links, filter by tags, and search for specific keywords.
- Link details: Each link includes information such as the submitter, submission date, and user comments.
- User interaction: Users can upvote or downvote links, as well as leave comments on them.
- User profiles: Users have a profile page displaying their submitted links, comments, and voting history.
- Social sharing: Users can easily share links on social media platforms.
Follow these steps to get LinkShare up and running on your local machine:
-
Clone the repository:
git clone https://github.com/linkshare/linkshare.git
-
Navigate to the project directory:
cd linkshare
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
-
For Windows:
venv\Scripts\activate
-
For macOS/Linux:
source venv/bin/activate
-
-
Install the required dependencies:
pip install -r requirements.txt
-
Set up the database:
python manage.py migrate
-
Create a superuser account:
python manage.py createsuperuser
-
Start the development server:
python manage.py runserver
-
Access LinkShare in your web browser at
http://localhost:8000
.
Contributions are welcome! If you would like to contribute to LinkShare, please follow these steps:
-
Fork the repository.
-
Create a new branch for your feature or bug fix:
git checkout -b feature-name
-
Make your changes and commit them:
git commit -m "Your commit message"
-
Push your changes to your forked repository:
git push origin feature-name
-
Open a pull request in the main repository and provide a clear description of your changes.
cd jstools
npm install tailwindcss autoprefixer clean-css-cli
- Note: Run this command everytime you make tailwind css changes.
npm run build
- Also Note: If you prefer using normal css, make your changes in the static/tailwind.css. Then run the command above everytime you make any changes i.e
npm run build
This project is licensed under the MIT License.
If you have any questions or suggestions, feel free to contact the project maintainer at vincentotieno161@gmail.com.