If you have not already installed epinio
follow these links
In this tutorial, you will learn how to create an organisation and how to push, list and delete an application.
If you just want an application that works use the one inside the sample-app directory. You can copy it to your system with the following commands:
git clone https://github.com/epinio/epinio.git
cd epinio/assets/
epinio push sample sample-app
where sample
is the name you want to give to your application. This name has to be unique within the targeted organization in Epinio. sample-app
is path to the directory where your application's code resides.
Note that the path argument is optional. If not specified the current working directory will be used. Always ensure that the chosen directory contains a supported application.
If you want to know what applications are supported in Epinio, please read the notes about supported applications.
We also provide information about the more advanced git model.
Note: If you want to know the details of the epinio push
process, please read the detailed push docs
After the application has been pushed, a unique URL is printed which you can use to access your application. If you don't have this URL available anymore you can find it again by running:
epinio app show sample
("Routes" is the part your are looking for)
Go ahead and open the application route in your browser!
To see all the applications you have deployed use the following command:
epinio apps list
To delete the application you just deployed run the following command:
epinio delete sample
If you want to keep your various application separated, you can use the concept of orgs (aka organizations). Create a new organization with this command:
epinio orgs create neworg
To start deploying application to this new organization you need to "target" it:
epinio target neworg
After this and until you target another organization, whenever you run epinio push
you will be deploying to this new organization.