# Tools.deps aliases in Ion deployments

**URL:** https://forum.datomic.com/t/tools-deps-aliases-in-ion-deployments/667
**Category:** Datomic Cloud
**Created:** [October 19, 2018, 4:35pm UTC](https://forum.datomic.com/t/tools-deps-aliases-in-ion-deployments/667 "2018-10-19T16:35:11Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![ro6](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/ro6/32/324_2.png) [@ro6](https://forum.datomic.com/u/ro6)
#### Post date: [October 19, 2018, 4:35pm UTC](https://forum.datomic.com/t/tools-deps-aliases-in-ion-deployments/667/1 "2018-10-19T16:35:11Z")

</div>

I’m moving a Luminus REST web service project to Ions and thinking through project structure and what’s possible with deployment via `deps.edn`. Luminus projects are structured as a core of functionality (eg `src` and `resources` for use across environments) and a set of environment-specific directories with their own `src` and `resources`, allowing for different initialization and configuration depending on your deployment environment.

If I have, for example, different logging configurations that I want to use for different environments (dev, test, production, different query groups, etc…) can I put those in different directories, then specify which one should end up on the deployed classpath via the `:extra-paths` of an alias in my `deps.edn`?

In commands like `clojure -Adev -m datomic.ion.dev '{:op :push}'`, we’re specifying the `dev` alias for running our deploy command (ie configuring the local classpath+main), but it would be nice to be able to also specify how tools.deps should construct the remotely deployed system. Hopefully the [forthcoming docs](https://forum.datomic.com/t/ions-datomic-ion-dev-documentation/627) will clarify both the default behavior (is `datomic.ion.dev` just deploying the top-level `:paths`, `:deps`, etc… and ignoring the aliases?) and the extent of what’s possible and/or recommended.

---

<div class="post-metadata">

### Author: ![tslocke](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.datomic.com/tslocke/32/233_2.png) [@tslocke](https://forum.datomic.com/u/tslocke)
#### Post date: [September 21, 2019, 7:20am UTC](https://forum.datomic.com/t/tools-deps-aliases-in-ion-deployments/667/2 "2019-09-21T07:20:51Z")

</div>

Reviving an old thread here because I’m doing the same move right now. Would be very interested to hear how this went for you, and any advice you have. In particular I’m a bit unclear if the Ions stack, alone, can host a traditional web app with routing. The Ions docs only seem to mention ‘web services’ and single page apps.
