Skip to content

PaulGuo/F2E.im

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ABOUT F2E.im

F2E is a community for front-end-developer.

How to contribute

Fork and send pull request.

How to run f2e.im on your own machine

  1. install all required modules:

    shell> pip install -r requirements.txt
    
  2. create database and then execute sql file in dbstructure/

    shell> mysql -u YOURUSERNAME -p
    
    mysql> create database f2e;
    mysql> exit
    
    shell> mysql -u YOURUSERNAME -p --database=f2e < dbstructure/f2e.sql
    
  3. set your mysql user/password and smtp server config in application.py and lib/sendmail.py.

  4. check above, using python application.py to start server.

    shell> python application.py --port=9001 --mysql_database=f2e --mysql_host=localhost --mysql_password=YOURPASSWORD --mysql_user=YOURUSERNAME
    

How to set up a production enironment

You need to know a little of supervisor and nginx, all config files are available in conf/