Cheatsheet to help you use the Accella Devenv
This is a draft cheat sheet. It is a work in progress and is not finished yet.
User Server vs Named Server
Forwarding a Port to access an application
Since the Development Environment is running in its own private network, one must proxy the port to a gateway for you to access it. This is done using the following command
bore local <port> --to odysseus.accella
2022-07-12T11:49:36.644654Z INFO bore_cli::client: connected to server remote_port=37417
2022-07-12T11:49:36.644713Z INFO bore_cli::client: listening at odysseus.accella:37417
Now Odysseus.accella is listening on port 37417 to proxy to your environments port 5000
Simply navigate to http://odysseus.accella:37417
in order to access your application
Important Information about Data Persistence
ONLY YOUR HOME FOLDER IS PERSISTED
Any data outside of your home folder (/home/<username>) will disappear when your server is stopped
The folder /var/accella/aibot is symlinked into your home directory to /home/<username>/aibot_data to ensure its persistance
Do not delete a Server unless you are sure
A Server can be stopped or deleted.
Once it has been stopped, it can be started again with already existing home directory.
If a Server has been deleted, so has its data
How to get back to the hub home?
Creating a Database Server
There is a Profile to create a Postgres Database Server
Upon starting it you are greeted by a Page listing the pod ip and a link stating "Click here!".
The Pod IP is what you will need inside of your Development Environment to connect to the DB
The Link takes to a pgadmin page to manage your database.
Default Username: postgres
Default Password: Accella123