cp .env.example .envcomposer install- Set up your database
- You can create a free MarketStack account (if you want up-to-date market data) and fill out these values
MARKET_STACK_ACCESS_KEYMARKET_STACK_URIMARKET_STACK_TIMEOUT
php artisan migratephp artisan db:seed. It will import the sample data fromstorage/imports/transactions.csvphp artisan serve- `npm install'
npm run dev- Login with
demo@portfolio.comandpassword
It will import a dummy CSV full of demo transactions, so you have a lot of sample data. If you run the seeder you don't need to do anything else.
php artisan transaction:import
- Import transactions from
storage/transactions.csv - Updates the holdings
- Updates the value of portfolios
- Also updates the special "aggregate" portfolios
php artisan dividend:import
- Imports only the dividend payouts from
storage/transactions.csv
php artisan market-stack:update-market-values
- Updates every holding's market value from Market Stack using the current market price
php artisan market-stack:update-dividends
- Updates every stock's dividend data from Market Stack using the current dividend