Coder Social home page Coder Social logo

nyo16 / cookiecutter-phoenix Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stephanerob/cookiecutter-phoenix

0.0 1.0 0.0 187 KB

Cookiecutter phoenix is a template to bootstrap a Elixir/Phoenix app

License: BSD 2-Clause "Simplified" License

Shell 0.82% Elixir 57.33% JavaScript 29.57% CSS 0.25% HTML 12.03%

cookiecutter-phoenix's Introduction

Cookiecutter-phoenix (WIP)

A cookiecutter template to bootstrap an Elixir/Phoenix web app.

Prerequisities

  • Python 3.6
  • Elixir 1.6
  • Postgresql >= 9.6 OR Mysql >= 5.7

Features

  • Elixir 1.6
  • Phoenix 1.3
  • Authentication : Authenticable, registerable, trackable, confirmable, lockable, recoverable (guardian, comeonin, bcrypt)
  • Tailwindcss
  • Font awesome 5

Usage

Install cookiecutter

pip install cookiecutter

Run cookiecutter against the repo

cookiecutter https://github.com/StephaneRob/cookiecutter-phoenix

You'll be prompted for some values to configure your Phoenix app

app_name (lowercase) [my_app]: my_app
domain_name [example.com]:
author_name [Stéphane ROBINO]:
email [[email protected]]:
description [A short description of the project.]:
version [0.0.1]:
Select database:
1 - postgresql
2 - mysql
Choose from 1, 2 [1]:
dev_database_name [my_app_dev]:
dev_database_username []:
dev_database_password []:
test_database_name [my_app_test]:
test_database_username []:
test_database_password []:
Select database_setup:
1 - setup
2 - migrate
3 - none
Choose from 1, 2, 3 [1]:

Steps after configuration :

  1. Generate a phoenix app
  2. Initiate a git repo and commit an 'Initial commit'
  3. Install elixir dependencies
  4. Create database and migrate
  5. Install assets dependencies

You're ready to start server cd myapp && iex -S mix phx.server

cookiecutter-phoenix's People

Contributors

stephanerob avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.