This website was developed for the final project of the DC-Dev training cursus. DC-Dev is a web developer training course provided by Digital Campus in Rennes (France) over 9 months.
fundlog is a portfolio management app for mutual funds, in french for the time being. Users can manage all their portfolios in one place, prepare and valid transactions, set alerts and more to come...
git clone fundlog
composer install
npm install
create a .env.local
(and perhaps a .env.prod.local
) file
with convenient parameters for database access and mailer.
Still not sure if next step is mandatory :§
composer dump-env prod
Get last version
git fetch origin
git status
will report something like:
Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
Then
git pull
In case of conflicts (locally updated files), reset the code
git reset --hard origin/master
Edit webpack.config.js
to switch .setPublicPath
from dev to prod version
// dev
.setPublicPath('/php/patinoire/fundlog/public/build')
// prod
//.setPublicPath('/build')
npm run build
APP_ENV=prod APP_DEBUG=0 php bin/console cache:clear