Skip to content

Latest commit

 

History

History
74 lines (45 loc) · 3.18 KB

dev-env.md

File metadata and controls

74 lines (45 loc) · 3.18 KB
layout title permalink author octocat contributors
page
Development Environment
/dev-env/
brucellino
constructocat2.jpg
The **development environment** refers to a setup where all of the dependencies and configuration needed to both **develop** and **test** your applicaiton are available. The development environment should be as close as possible to the **deployment** environment. The tools described here are the **bare minimum** needed to complete the warmup exercises.

General description

You will need :

OS libraries

    {% for tool in site.data.hackfest.dev_env_generic %}
  • {{ tool.name }}: {{ tool.more }}. More
  • {% endfor %}

Language-specific stacks

Suggested applications and libraries

We expect you to know your application stack well and use whichever tools make sense to you. It is very useful to have a REST inspector in your browser for testing, and we suggest using Postman for testing how your code uses the APIs of the various components of the platform.

Here are a few suggestions for language-specific stacks:

Use a machine provided for you

We have set up access to a machine (via ssh) which is preconfigured as a development environment. We use your ssh keys from your github account to provide you access (see the [before checklist]({{ site.url}}/before-checklist/)). In order to access the machine, you should use your github username :

ssh <gihtub username>@sgw-dev.sci-gaia.eu

e.g. :

ssh brucellino@sgw-dev.sci-gaia.eu

This machie hass been provisioned with most of the tools we mention above, so that you can do the warmup sessions during hte hackfest. However, it will be destroyed soon after the hackfest; it may be easier and more comfortable to work on your own machine, or a remote development environment closer to home.

Set up your own

(Beta) Use our playbook

You can use the same Ansible playbook that we use to set up the development environment. Some tweaking on your part may be necessary (and we would welcome pull requests for things you consider necessary !), but here's what to do when setting up the development environment :

  1. Clone the Hackfest-Prep repo : git clone https://github.com/AAROC/e-Research-Hackfest-Prep
  2. Get Ansible, if you don't : see Ansible website
  3. The playbooks are in e-Research-Hackfest-Prep/services/Ansible
  4. Run the playbook against your local machine : ansible-playbook -i localhost, -c local development-environment.yml

More details coming soon

Use Docker

We're working on a Docker image for you to use. Stay tuned. Coming soon