1.0.0 • Published 7 years ago

gaf-mobile v1.0.0

Weekly downloads
5
License
-
Repository
-
Last release
7 years ago

gaf-mobile: GAF Mobile Site

Hi there and welcome to the Mobile Site project young Padawan!

To start developping using the dev server, use the "serve" grunt task:

$ grunt serve

The dev server starts a HTTP proxy whose connection parameters will be printed (<your-local-ip:1234>). Configure your device or your browser to use that proxy, then enter m-local.freelancer.com in your browser and start writing code :-).

On desktop on can run Chrome with --proxy-server='<your-local-ip:1234> to not change your system-wide settings.

Other country-specific extensions will work as well (m-local.freelancer.co.uk for instance).

By default the app will be configured to use "staging" endpoints (EC2 staging). If you want use the local or production endpoints, pass "staging" or "production" as task parameter:

$ grunt serve:staging
$ grunt serve:production

When you\'re ready to deploy, use the "build" task to build the app:

$ grunt build:staging
$ grunt build:production

Then make sure that the build process didn\'t break anything by using "serve" in the "dist" mode:

$ grunt serve:dist