web controller for lifx ଘ(๑ ` ᵕ ´) ๑ ━☆ ゚ ✶。˖⁺ ✦ ⋆˙⊹ (for when you can't find your phone)⁺‧₊
To run the this project on your local machine, please follow the steps below:
-
Clone the repository:
git clone https://github.com/danielbuva/lifx-controller
-
Install Dependencies:
- At the root directory:
bun install
- Navigate to the server directory:
cd server bun install
- Navigate to the client directory
cd ../client bun install
-
Create a .env file in the server directory with the following content:
TOKEN=[token generated from lifx]
-
Start the server and client servers:
- In the server directory run:
bun dev
- In the client directory run:
bun dev
- Or at the root run
and
bun client
bun server
- Access the application:
- Open your web browser and visit http://localhost:5173 to access the lifx controller.