Giter VIP home page Giter VIP logo

webappanycopydemo's Introduction

This is code for hosting AnyCopy Web App on domain http://app.anycopy.io/,
which is pointing to the parse server that has been set up on digitalocean.

# You need to change your github page settings to under master/docs.



# Start dev version

```
1, git clone https://github.com/TonyTangAndroid/WebAppAnyCopyProd.git
2, cd WebAppAnyCopyProd
3, bower install 	# this is to install bower component
4, npm install 	# this is to install common js libs

5, Solved bug parse-community/ParseReact#161 by this patch
https://github.com/MonirAbuHilal/ParseReact/commit/541c46e5c974aa3832654f5540f6beb8ee789c6f
in ../anycopy-frontend/node_modules/parse-react/lib/browser/ParsePatches.js

Summary :

replace the following code in file /node_modules/parse-react/lib/browser/ParsePatches.js

  logOut: function logOut() {
    var promise = oldLogOut();
    LocalSubscriptions.currentUser.update();
    return promise;
  }


to


  logOut: function logOut() {
     return oldLogOut().then(function() {
     LocalSubscriptions.currentUser.update();
     });
  }


6,replace parse server from https://api.parse.com/1 to https://parse.anycopy.io/demo under folder /node_modules.
7, gulp build 			# change some stuff and make sure it works, then run
8, remove
  <script type=text/javascript src=http://localhost:8080/docs/bundle.js charset=utf-8></script>
  from `docs/index.html` after build (DON'T TOUCH `app/index.html`)

9, push code to github.


webappanycopydemo's People

Watchers

James Cloos avatar TonyTang avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.