Skip to content

long74100/memory

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Memory

Development Instructions

Prerequisites:

  • Erlang / OTP ~ 20.2
  • Elixir ~ 1.5
  • NodeJS ~ 9.4

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Install Node.js dependencies with cd assets && npm install
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

Deployment Instructions

Instructions to deploy to an Ubuntu 16.04 VPS:

As root:

  • Install Erlang and Elixir packages.
  • Create a new Linux user account, "memory".
  • Add a nginx config for the new site. See "memory.nginx" for an example.

As the new user:

  • Install NodeJS through NVM.
  • Check out this git repository to ~/src/memory
  • Run the deploy script.
    • You may need to answer "Y" and press return.
  • Run the start script to start your server.

Learn more

Ready to run in production? Please check our deployment guides.

About

Memory game made with React and Phoenix

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Elixir 67.7%
  • JavaScript 19.6%
  • HTML 8.7%
  • Shell 2.4%
  • CSS 1.6%