Install

⚠️ Instructions have changed since v0.3.0

This guide is useful for installation of v0.3.0 or above. Guide for older versions is available here.

  1. Clone the repository

    git clone https://github.com/intri-in/manage-my-damn-life-nextjs.git

  2. To install dependencies, run:

    npm install

  3. Install mysql and create a database.

  4. Copy the env file, and make desired changes to configuration. For more details see Configuration

    cp sample.env.local .env.local

  5. Run database migrations.

    npm run migrate

  6. Run the build command:

    npm run build

  7. Start the server:

    npm run start

    or to start development server, run:

    npm run dev

    To run the server and get the control back on the command prompt you can also run:

    nohup npm run start &

    To see the started node process you can run

    ps aux | grep node

  8. Your server is now up and running.

    For virtual host configuration see Virtual Host Configuration

  9. Visit https://localhost:3000/install to run the installation process.

  10. If you're not using OAuth, register for a new account. Login to your new account.

  11. If not automatically redirected to "Add CalDAV Account" page, visit http://localhost:3000/accounts/caldav to add your first CalDAV account.