F2E is a community for front-end-developer.
Fork and send pull request.
-
install all required modules:
shell> pip install -r requirements.txt
-
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
-
set your mysql user/password and smtp server config in
application.py
andlib/sendmail.py
. -
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
You need to know a little of supervisor and nginx, all config files are available in conf/