-
Notifications
You must be signed in to change notification settings - Fork 0
1. Installation
- Download source code smartMoney
git clone https://github.com/mrahmadt/smartMoney.git
cd smartMoney
-
Follow Laravel Deployment for server requirements and server-configuration.
-
Set Up Environment Configuration: Copy the example environment configuration to a new .env file:
cp .env.example .env
- Configure Environment Variables
Open the .env file and update the following essential settings:
a. Make sure you have created a database and a database user. Update the database credentials accordingly:
DB_HOST=mysql
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=sail
DB_PASSWORD=password
b. Firefly-III Integration Provide the URL and Personal token for your Firefly-III instance:
FIREFLYIII_URL=https://moneycontrol.com
FIREFLYIII_TOKEN=eyJ0eXAiOiJKV1QiLC.....
c. Migrate Database Run the database migrations to set up the required tables:
php artisan migrate
d. Setup cron job: You need to add cron configuration entry to our server that runs the schedule:run command every minute.
* * * * * cd /path-to-your-smartMoney && php artisan schedule:run >> /dev/null 2>&1
e. create user account: From smartMoney directory, run the following command to create a user for you
php artisan app:createUser
And now you will be able to access the admin portal https://yourserver/admin
, you still need to configure the features that you want from smartMoney, make sure to check the github wiki pages.