Giter Club home page Giter Club logo

elixir-companies's Introduction

Elixir Companies

Elixir Companies

A collection of companies using Elixir in production.

Proudly built with Phoenix.

Adding a new company to the list

  • Sign with your GitHub account.
  • Click on Add a company button and you will be redirected to a form.
  • Fill all required data about the company and submit it.

After that, the admin needs to validate the request.

With everything OK the company will be approved and will appear in companies list.

Adding a new job opportunity for a company

Once your company is available on the list, you are able to add a new Job opportunity for the given company.

  • Sign with your GitHub account.
  • Click on + Add a Job link and you will be redirected to a form.
  • Fill all required data about the company and submit it.

Development

  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 from your browser.

Note: You need to set up a GitHub Application and ensure GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET are available to your application. The GitHub application needs its callback set to http://localhost:4000/auth/github/callback and be given read-only access to the email addresses of the user.

Note: You need to have Postgres version 9.5+, due to our use of certain features that are fairly new (JSONB Data Type + ON CONFLICT query).

Note: If for some reason you reset the database on your machine, you will see an error as the browser has cookies for a user that does not exist in the database. You will need to clear the cookies and site data for the page on your browser and refresh the page to remove the error.

Localization

In order to add a new language to the available list of locales, you have to do the following:

  • mix gettext.extract in order to extract all the latest gettext msgids from the code
  • mix gettext.merge --priv/gettext in order to merge the latest msgids with the locales.
  • mix gettext.merge --priv/gettext --locale locale_code in order the generate the files for the new locale.
  • Edit the default.po and errors.po in the priv/gettext/{locale_code}/LC_MESSAGES/ dir. You leave the msgids intact and only touch the msgstr fields, where you translate the text accordingly.

elixir-companies's People

Contributors

austinhlopez avatar bglusman avatar brain-geek avatar burden avatar dependabot[bot] avatar doomspork avatar eduardonunesp avatar gemantzu avatar h4cc avatar jordelver avatar joshprice avatar lackac avatar lbighetti avatar lcezermf avatar maartenvanvliet avatar maco avatar madlep avatar mgalibert avatar ngoumard avatar nicholaides avatar nitrino avatar sirius248 avatar starbelly avatar stareintothebeard avatar stevedomin avatar svileng avatar taj avatar tuxified avatar vvuunnqq avatar yordis 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.