Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 1.48 KB

README.md

File metadata and controls

52 lines (33 loc) · 1.48 KB

Pugmanity

A simple vapor demo project used for this meetup @SantexGroup in Córdoba, Argentina. Slides available here and here

##About

//TBD

##Setup

For running the project locally :

If you have not installed Vapor yet, do install Vapor following these instructions

After that, install MySQL. Here are the instructions for macOS or Linux

Now you will have to configure your database connection as described below

##Configuration

Inside the project, update your MySQL connection information located in Config/secrets/mysql.json

Example of mysql.json :

{
  "host": "z99a0.asdf8c8cx.us-east-1.rds.amazonaws.com",
  "user": "username",
  "password": "badpassword",
  "database": "databasename",
  "port": "3306",
  "encoding": "utf8"
}

Finally run the project from terminal with

  • vapor build
  • vapor run

or open it on Xcode with vapor xcode and run it.

##References

##Captures screencapture1 screencapture2