https://github.com/condef5/boilerplate-phoenix-live-view
Boilerplate Phoenix Live View 凸凸凸
https://github.com/condef5/boilerplate-phoenix-live-view
Last synced: 4 months ago
JSON representation
Boilerplate Phoenix Live View 凸凸凸
- Host: GitHub
- URL: https://github.com/condef5/boilerplate-phoenix-live-view
- Owner: condef5
- Created: 2019-12-22T18:58:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-02-12T21:12:58.000Z (over 4 years ago)
- Last Synced: 2025-11-17T14:40:49.867Z (7 months ago)
- Language: Elixir
- Homepage:
- Size: 1.77 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Boilerplate Phoenix Live View 🌌
Set up a project easily with phoenix live view 🚀.
## Run project locally
To start your Phoenix server:
1. Install dependencies with `mix deps.get`
2. Create and migrate your database with `mix ecto.setup`
3. Install Node.js dependencies with `cd assets && npm install`
4. Start Phoenix endpoint with `mix phx.server`
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).
## Rename Project
You can change the name of the project, to achieve this you need to follow these
steps:
1. Install ack, for macOS: `brew install ack` or linux: `sudo apt-get install ack-grep`
2. Give permissions of execution to script: `chmod +x rename_project.sh`
3. Open `rename_project.sh` and update with the name of your project:
```
NEW_NAME=MyAwesomeProject
NEW_OTP=my_awesome_project
```
4. Execute script: `./rename_project.sh`