Skip to content

rishabhaiml/do-now

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

Do-Now: How It Works

Getting Started

Clone the Repository

To get started, clone the repository to your desired directory using the following command:

git clone https://github.com/rakshitbhai/do-now.git

Ensure C is Installed

Make sure that the C compiler (GCC) is installed on your machine. If it is not installed, refer to the documentation for installation instructions.

Navigate to the Directory

Once cloned, navigate to the directory where you have cloned the repository:

cd do-now

Compile the Program

Change to the src directory before running the following commands in your terminal to compile the program:

cd src
gcc -c util.c -o util.o
gcc -c main.c -o main.o
gcc -c colors.c -o colors.o
gcc -c changehere.c -o changehere.o
gcc util.o main.o changehere.o colors.o -o run

Run the Program

To execute the program, use the following command inside the src directory:

./run

Using the Program

Now that you have successfully compiled and run the program, follow these steps:

Default List Option

When you run the program, it will prompt you to choose whether to continue with the default task list or create a new one.

  • To use the default list, type n.

Screenshot 2025-02-16 at 1 04 30 PM

Upon pressing n, the following screen will appear:

Screenshot 2025-02-16 at 1 05 03 PM

The default list is located in src/changehere.c. You can modify it as needed.


  • To create a new list, type y.

    Here, you can add your tasks one by one:

Screenshot 2025-02-16 at 5 38 58 PM

Task Storage

Once tasks are entered, the program will generate a task list stored in an info.md file located at:

TIME LINE/(year)/(month)/(day)/info.md

Additionally, a folder named work will be created in the same location to manage related files.

Folder Structure

The work folder is where you can store any coding work you have done today or leave it blank.

The generated folder structure will look like this:

├── TIME LINE
│   ├── 2025
│   │   └── Feb
│   │       └── 17(Mon)
│   │           ├── info.md <-- Contains Task List 
│   │           └── work    <-- Folder to do your task 
│   └── .gitignore          <-- For ignoring some system-generated files

Version Control

To maintain a record of your tasks and progress, first, create a repository in your GitHub account. Then, follow these steps to push your changes:

cd TIME LINE
git init
git add .
git commit -m "Initial commit"
git remote add origin <your-repo-url>
git push -u origin main

Now, your to-do list and task records are properly managed and version-controlled!


Happy Task Management! 🎯

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages