Skip to content

Latest commit

 

History

History
84 lines (50 loc) · 2.46 KB

quickstart.md

File metadata and controls

84 lines (50 loc) · 2.46 KB

QuickStart

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.

Push an application

Clone the sample app

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/

Push an app

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

Check that your application is working

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!

List all commands

To see all the applications you have deployed use the following command:

epinio apps list

Delete an application

To delete the application you just deployed run the following command:

epinio delete sample

Create a separate org

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.