Richardm

Richardm

Best way of starting a new Hologram project?

Hi,

What’s the best way of starting a Hologram project, from scratch, and is there a simple folder structure we can follow?

Thanks

Marked As Solved

bartblast

bartblast

Creator of Hologram

Hi @Richardm! Welcome to the forum! :slight_smile:

Currently, Hologram runs on top of Phoenix, so the best approach is to:

  1. Use mix phx.new (docs here) to create your Phoenix project
  2. Install Hologram on top of it following the Installation Guide that @Eiji mentioned
  3. Follow Phoenix conventions generally (though you can use the app directory as described in the installation guide)

For experimenting and getting a feel for things, you can also clone the Hologram skeleton app to play around with.

In August, Hologram will have a standalone mode! This version will use some Phoenix primitives under the hood (like PubSub) but hide all that complexity from you. The goal is to give you exactly the experience you see in our docs without needing to know Phoenix at all. This standalone version will be obsessing over developer experience and will be maximally simple and streamlined with its own Hologram conventions.

Hope this helps! Let me know if you have any other questions.

11
Post #3

Also Liked

bartblast

bartblast

Creator of Hologram

In this context, “standalone mode” means Hologram will be a complete, self-contained framework with its own development experience. You’ll get something like mix holo.new my_app and work entirely with Hologram’s conventions and tools - no Phoenix knowledge required.

jam

jam

:raising_hands:t3: let’s go!

Eiji

Eiji

The structure should be considered similar to Phoenix - in short you have full flexibility.

Here is an installation guide:

Where Next?

Popular in Questions Top

nobody
How to bind a phoenix app to a specific ip address? could not find anything about that, nowhere, unfortunately, but for me this is quite...
New
_russellb
I want to try my hand at web scraping. What tools/libraries do I need to use. I’m hoping to turn this into something professional so don’...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
lucidguppy
I have a super simple question about elixir - how would I take a file like this foo bar baz and output a new file that enumerates th...
New
jason.o
In the code below, if the create action is not set to accept “extra_key” as an input, it errors out with a message shown above. Is there ...
New
dotdotdotPaul
Okay, I’m having a heck of a time trying to figure out how to best handle the validation of belongs_to associations in Ecto. I’m sure I’...
New
JorisKok
I have a server on AWS, and was running a load test using artillery. When looking at the Phoenix dashboard I see the Ports going to 100% ...
New

Other popular topics Top

baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
hariharasudhan94
I would like to know what is the best IDE for elixir development?
New
JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1144 54250 245
New
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

We're in Beta

About us Mission Statement