The Uni Arrival Advisor will guide you through the steps you need to take on your path to the University of Helsinki. Answer these questions to get a checklist that guides you through the process of arriving in Finland and settling in.
- Read the Lando docs and install the latest Lando.
- Check out the repo:
git clone [email protected]:UniversityofHelsinki/Arrival-App.git uniarrival && cd uniarrival. - Start the site by running
lando start. - Import data:
lando syncdb- (add your public key to production server & connect to VPN first!) synchronise local DB with production orlando db-import <dumpfile>.
- Update database & enable develpoment components:
lando update. - Import config if needed:
lando drush @local cim -y.
- http://adminer-uniarrival.lndo.site - Adminer for database management, log in without entering the credentials.
- http://mail-uniarrival.lndo.site - Mailhog for mail management.
Full commands/tools overview is available by running lando. Custom tools:
lando bower,lando gulp,lando npm- frontend tooling,lando build- build an app,lando syncdb- synchronise local database with production,lando update- update local database,lando xdebug-on- enables xdebug,lando xdebug-off- disables xdebug.
- Generate the production package:
lando production. - Copy production package to the server:
scp production.tgz [your-username]@uniarrival.it.helsinki.fi:.. - Log in to server:
ssh [your-username]@uniarrival.it.helsinki.fi. - Run deployment steps:
cd /var/www/current
./deploy.shEnter your username and password when asked
!NB helsinki.fi user required for server access