Skip to content

Latest commit

 

History

41 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CulturalTrailApi

To start (assuming you have erlang and elixir installed):

  • make sure postgres is running with user: postgres password: postgres
  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.create && mix ecto.migrate
  • Start Phoenix endpoint with mix phoenix.server

Now you can visit localhost:4000 from your browser.


  • AWS Console Sign in here

    • ask Kyle for the ssh key file
  • Prod Url here

    • to start prod server udo MIX_ENV=prod mix phoenix.server
    • make sure `/config/prod.secrets.exs exists (ask Kyle)
  • ssh to server ssh -i "cultural_trail_api.pem" ubuntu@ec2-52-206-122-212.compute-1.amazonaws.com

About

Rest API server for cultural trail project

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages