https://github.com/danielmark0116/elixir-ecom
๐ฌ eCommerce with Elixir ๐งช
https://github.com/danielmark0116/elixir-ecom
docker docker-compose ecommerce elixir phoenix postgres postgresql
Last synced: about 2 months ago
JSON representation
๐ฌ eCommerce with Elixir ๐งช
- Host: GitHub
- URL: https://github.com/danielmark0116/elixir-ecom
- Owner: danielmark0116
- Created: 2021-02-06T19:50:29.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-07T18:14:12.000Z (over 5 years ago)
- Last Synced: 2025-01-05T15:29:40.092Z (over 1 year ago)
- Topics: docker, docker-compose, ecommerce, elixir, phoenix, postgres, postgresql
- Language: Elixir
- Homepage:
- Size: 155 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ecom
To start your Phoenix server:
```bash
chmod 777 ./entrypoint.sh
chmod 777 ./entrypoint-prod.sh
chmod 777 ./dev.sh
./dev.sh
```
To start `prod` locally:
```bash
docker-compose -f docker-compose.yml up [options of your liking]
```
Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.
Ready to run in production? Please [check our deployment guides](https://hexdocs.pm/phoenix/deployment.html).
## Accessing iex
Run docker-compose and:
```
docker exec -it NAME_OF_RUNNING_PHOENIX_CONTAINER prod/rel/NAME/bin/NAME remote
```
> exchange NAME with the name of your app
## Connecting do DB with postico
Remember to have the ports exposed for `db` service in `docker-compose.yml`. Then inspect docker container and connect to a proper host and port with a correct user name, password and db name
## Learn more
- Official website: https://www.phoenixframework.org/
- Guides: https://hexdocs.pm/phoenix/overview.html
- Docs: https://hexdocs.pm/phoenix
- Forum: https://elixirforum.com/c/phoenix-forum
- Source: https://github.com/phoenixframework/phoenix