This project is a simple task manager, where users can register, login, update their profiles, and delete their accounts. Users can also create, update, and delete tasks with statuses and labels. The project is deployed on Railway.
You can check out the live deployment of the Task Manager on Railway by following this link: Task Manager - Deployed on Railway
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Python 3.8 or higher Django 3.2 or higher PostgreSQL (for production)
Clone the repository:
git clone https://github.com/NikGor/python-project-52.git
cd python-project-52
Install the requirements:
pip install -r requirements.txt
Create a .env file in the root directory of the project and add the following:
SECRET_KEY=your-secret-key
DEBUG=True
DATABASE_URL=sqlite:///db.sqlite3
Replace your-secret-key with a secret key for Django.
Apply the migrations:
python manage.py migrate
Run the server:
python manage.py runserver
The application will be available at http://127.0.0.1:8000/.
Railway is a platform for deploying applications. Here's how you can deploy this Django project to Railway:
Create a new project on Railway. Connect your GitHub repository to the Railway project. In the Railway dashboard, set the environment variables (SECRET_KEY, DEBUG, DATABASE_URL) in the Variables section. In the Deployments section, click on Deploy to deploy your application.
You can run the tests using the following command:
python manage.py test
Contributions are welcome! Please read our contributing guide for details.
This project is licensed under the MIT License - see the LICENSE file for details.
If you have any questions, feel free to reach out!
Enjoy the project! 🎉