Creekridge_Portal
Contains the code for the Creekridge Capital portal.
Instructions:
- Delete the folder with current creek ridge portlets if any in sdk/portlets
- Open command line (Windows key + R and type cmd)
- Navigate to the
{liferay sdk folder}/portlets
- Execute
git clone https://github.com/TamarackConsulting/Creekridge_Portal.git CreekRidgeCapital-portlet
This should create a folder in portlets.
- Open Eclipse and create new Liferay project from existing source.
- Run ANT clean and ANT compile targets.
- If you are having issues, go to service.xml and right click > Liferay > Build Services (do NOT build WSSD!)
Alternative to steps 2-4 using Eclipse:
Note: Steps 2-4 from above can also be done from Eclipse using the following steps:
- From Eclipse, click on File > Import
- From the import screen, click on Git > "Projects from Git" > Click Next
- From the "Import Projects from Git" screen, click on Clone URI.
- From the "Source Repository" screen, in the URI paste in "https://github.com/TamarackConsulting/Creekridge_Portal.git". You can choose to enter a username and password but it's in a public repository so it isn't necessary. Click Next.
- From the "Branch Selection" screen, select "Master" only and click Next
- From the Local Destination screen, in the Directory field, browse to the {liferay sdk folder}/portlets folder and in the browse file name field enter "CreekRidgeCapital-portlet" and click Save
- Configure the remote github with a name at the bottom of the screen and click next.
- On the next screen, choose to Import projects from Existing and navigate to the CreekridgeCapital-portlet folder in the sdk\portlets folder.
- The project will be created with all contents from github.
- Do steps 6 and 7 listed above.
9 steps instead of 3 for those of us who feel safer with the Eclipse GUI :)
+++++++++++++++++++++++++++++++++++++++++++
PLEASE WATCH OUT FOR WHAT YOU ARE MERGING!
Steps to follow when you are ready to push your code:
- Commit the files in which you've made modifications in your local repository.
- Right click your project in Eclipse, Team > Synchronize Workspace
- The Team Synchronizing screen will appear showing the files in which there are differences between the remote repository and your local repository.
- Right click > "Overwrite" for local files that are unrelated to the files you are working on.
- For files you are working on that have conflicts, right click > "Merge" and carefully merge your code with the remote file.
- Right click on the project and click "Add to Index"
- Click on the "Pull" icon.
- The remote files should now be in your local repository.
- Commit code to your local repository for files you have modified.
- Push to github
-