Skip to content

Add important informations to readme. #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 0 additions & 21 deletions README

This file was deleted.

31 changes: 31 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
PROJETO REST
============

Importing this project on eclipse
---------------------------------

In order to import this project on Eclipse, you'll need:

- choose menu file/import existent projects
- choose the directory that contains projetorest (the directory in which you decompressed it)
- after importing, if there is a classpath problem it means you dont have Apache Tomcat 6 configured. You
can just configure a new server in window/preferences/servers, creating a new instance, and add the Server Runtime
as a library inside the project build path
- just right click on the project, run as, run on server. choose a servlet container or configure a new one
- done! check the log files. access http://localhost:8080/projetorest/ (or change 8080 to the appropriate port).

Importing this project on netbeans 6.8
--------------------------------------

- choose menu File >> Open Project
- choose the directory that contains projetorest
- right click on project and choose Run
- There might be a "It Works! VRaptor" message on the browser that has just opened.

Running this project on apache tomcat
-------------------------------------

- Run "ant" command to generate "projetorest.war"
- Copy this file to webapps directory on tomcat
- Copy the "opala.conf" file to tomcat root directory
- Run apache and check the url: http://localhost:8080/projetorest/