Giter VIP home page Giter VIP logo

projetwebandcloud's Introduction

webandcloud

Be sure your maven has access to the web

  • you should have file ~/.m2/settings.xml
  • otherwise cp ~molli-p/.m2/settings.xml ~/.m2/
molli-p@remote:~/.m2$ cat settings.xml
<settings>
 <proxies>
 <proxy>
      <active>true</active>
      <protocol>https</protocol>
      <host>proxy.ensinfo.sciences.univ-nantes.prive</host>
      <port>3128</port>
    </proxy>
  </proxies>
</settings>

import and run in eclipse

  • install the code in your home:
 cd ~
 git clone https://github.com/momo54/webandcloud.git
 cd webandcloud
 mvn install
  • Change "sobike44" with your google project ID in pom.xml
  • Change "sobike44" with your google project ID in src/main/webapp/WEB-INF/appengine-web.xml

Run in eclipse

  • start an eclipse with gcloud plugin
 /media/Enseignant/eclipse/eclipse
 or ~molli-p/eclipse/eclipse
  • import the maven project in eclipse
  • File/import/maven/existing maven project
  • browse to ~/webandcloud
  • select pom.xml
  • Finish and wait
  • Ready to deploy and run...
gcloud app create error...

Go to google cloud shell console (icon near your head in google console)

gcloud app create

Install and Run

  • (gcloud SDK must be installed first. see https://cloud.google.com/sdk/install)
  • the gcloud command should be in your path. Run the following command to initialize your local install of gcloud.
gcloud init
mvn package
mvn appengine:run
  • Deploying at Google (need gcloud configuration, see error message -> tell you what to do... )
mvn appengine:deploy
gcloud app browse

Access REST API

  • (worked before)
https://<yourapp>.appstpot.com/_ah/api/explorer
mvn clean package
mvn endpoints-framework:openApiDocs
gcloud endpoints services deploy target/openapi-docs/openapi.json 
mvn appengine:deploy

projetwebandcloud's People

Contributors

jacquesdc avatar

Watchers

 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.