Sylvain METAYER
Based on a modified version of Hylia theme
-
npmis required -
npm ci -
npm start
docker-compose up -d
Travis configuration
If you want to use travis, you will have to generate the following variables with the [Travis CLI (ruby)](https://docs.travis-ci.com/user/encryption-keys/#usage):-
travis loginto log in your travis account. -
a private SSH key, to connect to the deploy server.
To do so, first generate a SSH key and run this command (replacing FILE with the private key) :
travis encrypt-file FILE --addThe public key must be added to the user
authorized_keysssh config, on the remote hostDo not version the unencrypted ssh private key !!
-
travis encrypt DEPLOY_USER=SOME_USER --addThis is used to tell travis which user is used to connect to the remote server.
-
travis encrypt DEPLOY_HOST=DOMAIN.FR --addThis tells travis where your SSH server is located (can be an IP or a domain)
-
travis encrypt DEPLOY_DIRECTORY_DEV=/var/www/dev.sylvainmetayer.fr --addThis tells travis where to deploy your development application on the remote host.
-
travis encrypt DEPLOY_DIRECTORY=SOME_REMOTE_PATH --addThis tells travis where to deploy your application on the remote host.