Skip to content

ratamahataV1/advisable_TryToDo

Repository files navigation

310553524_525906182873797_838120229663963187_n

TryToDo WebApp(fullStack)

Application Overview
The application is a user management system that includes features for user registration,
login, profile management, and admin functionalities for managing users and their messages.
It is built using the CodeIgniter framework, following the MVC (Model-View-Controller) architecture
to separate concerns, making the codebase modular, maintainable, and scalable.

promo

-Stack
codeigniter v.3
PHP v7.4.33
phpMyAdmin v5.2.0
Composer v2.7.7
MariaDB v10.4.27
Apache/2.4.54
Dbclient libmysql - mysqlnd v7.4.33
tailwindcss v2.2.19
jQuery v3.6.0

Application Setup

Prerequisites

  1. XAMPP: Ensure XAMPP is installed on your machine.
  2. Composer: Ensure Composer is installed on your machine.
  3. MailHog: For email testing (optional)

Linux

  1. Clone the Repository:

    git clone https://github.com/ratamahataV1/advisable_TryToDo.git
    
  2. Move the Application to htdocs directory of your XAMPP installation:

     sudo mv advisable_TryToDo-main /opt/lampp/htdocs/tryToDo
    
  3. Navigate to the Application Directory:

    cd /opt/lampp/htdocs/tryToDo
    
  4. Install Dependencies:

    composer install
    
  5. Start XAMPP:

    sudo /opt/lampp/lampp start
    
  6. Set Up the Database:

    • Open phpMyAdmin from XAMPP (usually available at http://localhost/phpmyadmin).
    • Create a new database (e.g., tryToDo).
    • Import the database backup file (tryToDo_quickEX.sql) into the newly created database.
  7. Configure the Application:

    • Update the database configuration in application/config/database.php:

      $db['default'] = array(
          'dsn'   => '',
          'hostname' => 'localhost',
          'username' => 'root',  // Default XAMPP user
          'password' => '',      // Default XAMPP password is empty
          'database' => 'tryToDo',
          'dbdriver' => 'mysqli',
          // other settings...
      );
    • Update the base URL in application/config/config.php:

      $config['base_url'] = 'http://localhost/tryToDo/';
  8. Run the Application:

    • Open a browser and navigate to:
      http://localhost/tryToDo/
      

Troubleshooting

  • Ensure XAMPP and Composer are correctly installed and configured.
  • Check the database credentials (see the docs) and ensure the database is correctly imported.
  • If there are permission issues on Linux, ensure the application directory has the correct permissions:
    sudo chown -R $USER:www-data /opt/lampp/htdocs/tryToDo
    sudo chmod -R 775 /opt/lampp/htdocs/tryToDo
    

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published