项目作者: valentinoli

项目描述 :
Ground Conductivity Project
高级语言: JavaScript
项目地址: git://github.com/valentinoli/conductivity-mapping.git
创建时间: 2017-09-03T17:34:53Z
项目社区:https://github.com/valentinoli/conductivity-mapping

开源协议:

下载


Ground Conductivity Project

Mapping of ground conductivity in Iceland

Web application for field strength data representation and interaction

Valentin Oliver Loftsson

August 2017

Try it out!

Guidelines for running app on local machine and making changes to the Heroku app

Install Heroku

Install Node.js and NPM

Open command line and verify you have installed everything

  1. % heroku -v
  2. % npm -v
  3. % node -v

Log in to Heroku with provided credentials

  1. % heroku login

Clone the existing heroku application

  1. % heroku git:clone -a jardleidni

Open the command line in the application’s directory

Install packages from NPM defined in package.json

  1. % npm install

Now you can turn on the local web server and set up a development environment

Open the command line in the application’s directory and run

  1. % gulp

This concurrently runs the web server and browser-sync

Browser-sync watches files in the \dist directory and fires when it detects any changes

Open another command line window and run

  1. % gulp watch

to watch files in the \src directory (source-files)


You need to make sure the remote git repository has been set before deploying your changes to Heroku

Run the following to check

  1. git remote -v

If the remote has not been set then run

  1. heroku git:remote -a jardleidni

Now you should be able to commit and push changes to the git repository by running

  1. git add .
  2. git commit -m "commit message"
  3. git push heroku master