Guessmoji is a website where users can post emojis representing movies, and other users can guess which movie they represent.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.deliver
assets
config
lib
priv
rel
test
.gitignore
.iex.exs
README.md
mix.exs
mix.lock

README.md

Guessmoji

Guessmoji is a website where users can post emojis representing movies, and other users can guess which movie they represent.

Technologies used

Guessmoji was developed using the following technologies:

How to run locally

  1. Clone this repository:

    git clone https://github.com/elomarns/guessmoji.git
  2. Go to its directory:

    cd guessmoji
  3. Install the dependencies:

    mix deps.get
    cd assets && npm install
  4. Setup the database:

    mix ecto.setup
  5. Start the Phoenix server:

    mix phx.server

The application will be started on your local computer on port 4000: http://localhost:4000.

Deploy

You can use Distillery and Edeliver to deploy Guessmoji to your own server. Just make sure to edit the file .deliver/config with the data for your server. After that, run the following commands for your first deploy:

  1. Build the release:

    mix edeliver build release production --verbose
  2. Deploy the release:

    mix edeliver deploy release to production
  3. Conect to your PostgreSQL production server:

    psql -U YOUR_USER -h YOUR_HOST -d postgres
  4. Creathe the production database:

    create database guessmoji_prod;
  5. Exit PostgresSQL client:

    \q
  6. Start the application:

    mix edeliver start production
  7. Run the migrations:

    mix edeliver migrate production

Below you can find additional references to help you with this process:

License

Guessmoji is released under the MIT License.