1, what ' s v2ex?
On this issue, we can look at the introduction of its author livid's early own V2ex community:
What ' s V2ex?
This is a question many people have asked, and I have never made a definitive answer. Because I really think it's a difficult time to fully answer the complete question. However, today I'll try to give the first version of the answer.
V2ex is a community of topics that focus on a variety of technical and cultural topics, while V2ex welcomes the addition of any new topics. Currently the hottest topics in V2ex include Linux, Mac, PHP, Project Babel (the program used to build V2ex), web design, Internet startups, music, Blogging and livid.
This is the result of the free development of V2EX since the launch in April 2006, so it can be said that the V2ex is driven by a group of geek, and I think it's wonderful, because from a selfish desire, geek is one of the most willing to deal with a group of people who are the absolute minority of this society, almost every People have paranoia and passion that they don't expect to be understood by others, and that's the cutest nature of geek.
So while the current topic of V2EX is expanding in all directions, there is no doubt that V2ex will do the best to serve the geek community for a long time to come.
Add: Now V2ex has been reopened, and Google Gae as the platform, the http://github.com on the release of the source code, you can download and set up their own personalized community, details can be consulted: http://v2ex.appspot.com;
2, how to install V2ex?
- To enable the Google APP engine service:
1), no use of gae services, you can first use Gmail account to Google App engine registration login, the period will require mobile phone text verification, or can not register successfully, (later also through the phone to receive Google Calendar free sms reminder, very practical);
2), fill in application Identifier (input you will be able to get a "xxx.appspot.com" domain name, XXX is you just entered and passed the application Identifier. ) and >application title (title, random) and tick agree to the terms of service, click Save to complete the creation;
3), then download here to install Gae and Python.
- Download V2ex:
Official: Http://github.com/livid/v2ex
Xu Ming revision (increased Goole account Direct login): Http://github.com/xuming/v2ex; (requires copy of the official version of the config.py.example, and modify some of the pages)
- To modify the V2ex configuration file:
After decompression, modify app.yaml.example and Config.py.example,
1), remove the suffix ". Example" of the above 2 file names;
2), modify the first line of the App.yaml "Application:v2ex", will v2ex replaced by XXX (1th step in the application and through the application Identifier);
3), first go to Http://www.google.com/recaptcha register a graphics verification code service;
4), modify the config.py, in the code at the end of Recaptcha_public_key = ", Recaptcha_private_key =" To enter the first application to the reCAPTCHA 2 key, save close.
- To modify the default template:
1), open ... \static\img folder, replace the corresponding picture, such as: Favicon.ico, logo.png;
2), open ... \tpl\desktop folder, modify the content of the corresponding HTML page, here slightly;
- Add upload v2ex into Google APP Engine:
1), open Google APP Engine
2), click File-add Existing Application ..., and then in the dialog box that pops up, select the Viex folder you just unzipped, click Add;
3), click Deploy, then enter the Gmail account and password, upload to the Gae server, and then wait a few times;
3, how to enter the V2ex backstage management?
and other network services a little different, for V2ex, the default first registered users have administrative rights, so upload success, and so can normally enter V2ex, hurriedly register login it;
- Enter username (nickname)-Password (password)-email (email)-reCAPTCHA (verification code), and then click on Sign Up (registration), to complete the registration;
- After login, you can find the settings in the top of the homepage to add the appropriate information, and select the language (in English), by default, the Gravatar personal image Service (linked to your email address, details, please Google's own)
4, how to configure V2ex??
After logging in, enter Backstagesign (backstage),
- Click Site Settings (Site Settings) and enter a description of the website, where:
Home categories is used to display the category on the first page (one per line, after the input is completed, enter the next);
Analytics ID is a unique statistical ID that you can skip when you add a site to your website in Google Analytics (site stats).
Language (language) for site language
- In Sections (locale), click "Add New Sections" to add Level 1 classification (this classification does not show how to place, purely for classification purposes);
- Click on one of the sections in the area, enter the right "Add new node", then enter the node name (last in English), node title, node subtitle, add 2 level classification (that is, node for the home page display, and through this node to gather relevant personnel into the discussion);
- The default added node is only displayed on the right side of the front page, if you need to display in the default category in the home page, you need to click the node you just added, you will find a few more properties below, in the "Node Open classification" in the first step in the site Settings (Site Settings)- The corresponding category name entered in Home Categories (homepage category);
- To display special effects, you can enter Topic Settings (Theme Settings), select "Enabled" in the Enable Topic Types (open theme Type), and then enter "node name: color code" in Topic Types (subject type) (no quotation marks), such as: "Irrigation: #d4e3b6", and the main page category, the output of a press ENTER, and then enter the next one per line; (If you fail to enter here, you can go back, in the personal settings will be the language of English before entering the settings; Estimated livid will be removed in the next release)
- After completing the above steps, the added results may not be displayed immediately because of the cache reason, at which point you can enter: "Index_categories" in the delete Specified Cached Item (delete cache) at the lower end of the background page, and then click Delete to delete the cache. After you can return to the homepage to view the effect;
5, how to use V2ex?
Once you have completed the above steps, you can start inviting people in to participate in the discussion,
- Register (using Xu Ming modified version, you can have Gmail account skip this step, directly click on the top right "Google users please login")
- Login Forum;
- Click on the "node" of interest in the bottom or right column;
- Click "Create Theme" in the upper left corner of the body page.
- Write down the title and text;
- Select the appropriate topic type (optional, non-mandatory, if selected, there will be more than the text title of the theme with the background color of the subject name);
- Click the "Create" button below the text;
- -Over-
6, other tips?
After the completion of the above, the rest of their own slowly groping it, later have time to come back to add;
1, the text words can not exceed 2000: You can write a part, after submission, and then click Modify, this time you can bypass the 2000 character limit! :)
How to set up a deployment V2ex community/forum (Google App Engine Edition)