Release FilesNo download files.
Before we begin, you'll need the following additional packages in order to work with the Forge source code.
You'll also need additional development packages in order to compile some of the modules. Use google for additional PIL/jpeg help.
And finally our document-oriented database, MongoDB
If you are using a different base system, make sure you have Mongo 1.8 or better. If you need to upgrade, you can download the latest from http://www.mongodb.org/downloads
Setting up a virtual python environment
The first step to installing the Forge platform is installing a virtual environment via
Once you have virtualenv installed, you need to create a virtual environment. We'll call our Forge environment 'anvil'.
This gives us a nice, clean environment into which we can install all the forge dependencies. (The site-packages flag is to include the python-svn package). In order to use the virtual environment, you'll need to activate it. You'll need to do this whenever you're working on the Forge codebase so you may want to consider adding it to your
Installing the Forge code and dependencies
Now we can get down to actually getting the Forge code and dependencies downloaded and ready to go.
Although the application setup.py files define a number of dependencies, the
This will take a while. If you get an error from pip, it is typically a temporary download error. Just run the command again and it will quickly pass through the packages it already downloaded and then continue.
And now to setup each of the Forge applications for development. Because there are quite a few (at last count 15), we'll use a simple shell loop to set them up.
Hopefully everything completed without errors. We'll also need to create a place for Forge to store any SCM repositories that a project might create.
Initializing the environment
The forge consists of several components, all of which need to be running to have full functionality.
SOLR search and indexing server
We have a custom config ready for use.
Forge task processing
Responds to asynchronous task requests.
TurboGears application server
In order to initialize the Forge database, you'll need to run the following:
This shouldn't take too long, but it will start the taskd server doing tons of stuff in the background. It should complete in 5-6 minutes. Once this is done, you can start the application server.
Go to the server running on your local machine port 8080. You can log in with username admin1, test-user or root. They all have password "foo". (For more details on the default data, see bootstrap.py)
There are a few default projects (like "test") and neighborhoods. Feel free to experiment with them. If you want to register a new project in your own forge, visit /p/add_project
Latest updated TicketsNo tickets
About Chamber Wiki
Welcome to OSDN Wiki system. Here is your chamber Wiki space.
Check Wiki Guide (English) to refer syntax and functions.