An app that will help you improve your habits.
To get started, run the following commands in the root directory of the cloned local repository:
You might want to clone repository using UNIX related command line. Powershell caused issues with file formatting.
Copy example environment file. Adjust it to your requirements or leave it unmodified:
cp .env.example .env
Run the following shell script to install application dependencies:
./composer-install.sh
To build and run containers:
./vendor/bin/sail up
Your application will not run properly without a key. To generate it, run:
./vendor/bin/sail artisan key:generate
Optional: To avoid typing ./vendor/bin/sail
each time, you can shorten it to sail
with:
alias sail='[ -f sail ] && bash sail || bash vendor/bin/sail'
After completing previous steps, you can proceed to install npm dependencies:
sail npm install
You should be able to generate assets used by the application:
sail npm run dev