Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@conveyal/taui

Package Overview
Dependencies
Maintainers
5
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@conveyal/taui

Isochrone & accessibility analysis

  • 2.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-93.33%
Maintainers
5
Weekly downloads
 
Created
Source

Taui

NPM version Build status

Taui screenshot

Running

Clone the repository and with yarn and node v8 installed run yarn start. Changes to JavaScript and CSS will be rebuilt automatically. Refresh your web page to see changes. Changes to configuration files require a full stop and fresh yarn start.

Configuration

Taui allows changing it's source data live by default. It's set via JSON and an example can be found in config.json.tmp. Opportunities can be set in the grids field and transit networks generated by an r5 regional analysis can be set in networks.

For permanent deployments, set DISABLE_CONFIG: true in the env.yml file and set the configuration data in store.yml under the data field.

Deploy

Once you see that TAUI is working properly with your static site data, deploy it to the S3 bucket specified in settings.yml with the following command (replacing the --config switch to point to your configuration directory):

mastarm deploy --config configurations/marseilles --minify --env production

The AWS SDK for JS will detect and use the same AWS credentials you should have set up for AWSCLI. The deployment copies JS and CSS files into a sub-bucket called assets, but does not upload index.html. You need to edit index.html in the root of the TAUI repository to customize the page name, then upload it with aws s3 cp index.html s3://your-bucket-name/index.html.

mastarm deploy will not create the bucket or set its contents public. You need to ensure the bucket exists before running mastarm deploy and set all its contents public afterward using the S3 web console or CLI. You don’t need to set any permissions on the bucket itself.

If S3 reports “access denied” when you try to fetch a page over HTTP in your browser, this is often because an object you are requesting does not exist.

Keywords

FAQs

Package last updated on 04 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc