-
Notifications
You must be signed in to change notification settings - Fork 13
Setting up the development environment
Patrick Bay edited this page Apr 1, 2016
·
3 revisions
- Create a folder to store the source code. The name "cypherpoker" is recommended but any valid name can be used.
- Download the latest source code revision. This can be done in one of two ways:
- Download a master ZIP file of the latest repository and unzip it into the folder created in step 1: https://github.com/monicanagent/cypherpoker/archive/master.zip
- Download and install TortoiseSVN.
- Once TortoiseSVN is installed, right-click on the folder created in step 1 and select "SVN Checkout..." from the context menu.
- Enter the URL of the CypherPoker repository on GitHub (https://github.com/monicanagent/cypherpoker.git), and click OK. Advanced users may choose to use a Git client here instead.
One of the chief advantages of using SVN (or Git) to retrieve the repository is that any time the source code is updated in the future you only need to right-click on the folder from step 1 and select "SVN Update". This is much more convenient and safer than a simple file copy.
Any paths noted in the rest of the document are relative to the "trunk" folder found in the folder created in step 1. Any revisions branched in the future will be relative to versions in the "branches" folder.
- Download and launch the FlashDevelop installer: http://flashdevelop.org/
- [OPTIONAL] In the main installation options window select "Multi Instance Mode". This will allow you to run multiple concurrent instances of FlashDevelop which is useful when working with CypherPoker or related projects.
- During the subsequent installation process the AppMan program will ask which compiler modules to include. Select all of the items in the AS3 section:
- Flex SDK
- Flex + AIR SDK
- AIR SDK + ASC 2.0
- Flash Player (SA)
- Flash Player (NS)
- Flash Player (AX)
- Apache Flex SDK
- Adobe AIR
- Finally, click the "Install # items." button when ready.
If you missed step 2 you can always start AppMan after installation by running it from the FlashDevelop installation directory (for example: C:\Program Files (x86)\FlashDevelop\Tools\appman\AppMan.exe).