1.5 KiB
Todo Baggins
A task management app tailored specifically to my personal GTD workflow.
Running the web server
Development
-
Copy
.env.devto.envand, if desired, edit it. -
Create a symlink from
docker-compose.yamltodocker-compose-dev.yaml. -
Run the Docker compose stack with
docker compose up --build -d -
Enter the container shell with
docker compose exec -it app sh -
Inside, start the development server with
dx serve --locked --addr 0.0.0.0 --port 8000 -
Once the build is finished, the web app will be accessible at http://localhost:8000.
Production
-
Copy
.env.devto.envand, if desired, edit it. -
Create a symlink from
docker-compose.yamltodocker-compose-prod.yaml. -
Run the Docker compose stack with
docker compose up --build -d -
Once the build is finished, the web app will be accessible at the Docker container, on port 80.
Running the Android client
-
Copy
.env.devto.envand, if desired, edit it. Set theMOBILE_SERVER_URLto the URL of the server which will be available as a backend for the mobile client. -
Start the build with
./scripts/export_android_bundle.sh -
Once it is finished, the APK will be present at
bundle/android. -
Run the web server as described in a previous section and make it accessible from the client running the mobile app at the URL specified in the environment variable.