Skip to content

NYCPlanning/labs-waterfront-access

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NYC Waterfront Access

Requirements

You will need the following things properly installed on your computer.

Local development

  • Clone this repo: git clone [email protected]:NYCPlanning/labs-waterfront-access.git
  • Navigate to the directory: cd labs-waterfront-access
  • Install dependencies: yarn
  • Start the server: ember serve
  • Visit your app at http://localhost:4200.
  • If the app fails to load, create an empty .env file in the root directory.

Testing and checks

  • ESLint - We use ESLint with Airbnb's rules for JavaScript projects

    • Add an ESLint plugin to your text editor to highlight broken rules while you code
    • You can also run eslint at the command line with the --fix flag to automatically fix some errors.
  • Testing

    • run ember test --serve
    • Before creating a Pull Request, make sure your branch is updated with the latest develop and passes all tests

Images

Images associated with each waterfront profile are stored in a Digital Ocean Space (Amazon S3 Equivalent): https://waterfront-access-photos.nyc3.digitaloceanspaces.com/. When a profile is loaded, the app does an API call to get the filenames of any images in the space that begin with the paws_id. When adding new images to the space, they should be prefixed with the paws_id, e.g 1010003-SouthStreetSeaportPier17Redevelopment.JPG

  • yarn lint
  • yarn lint:fix

Building

  • ember build (development)
  • ember build --environment production (production)

Deploying

Specify what it takes to deploy your app.

Further Reading / Useful Links

About

No description or website provided.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 14