Skip to content

TylerTemp/tomorrow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tomorrow

website code for tomorrow.comes.today and jolla.comes.today

Note it's developing and hasn't finished yet.

Install

Require python >= 3.3 & MongoDB

It may or may not run on python2.7 (not test)

git clone https://github.com/TylerTemp/tomorrow.git
cd tomorrow
pip3 install -r requirement.txt

Run

run in single process:

cd path/to/tomorrow
python3 main.py -p 8000

Configuration & multiprocess

all default configurations are under source code of lib/config/, please read the source code of that part to change the configuration by creating a .conf file

To run multi-processes:

python3 lib/tool/reboot.py

Note you can shadow those settings by passing args to main.py or lib/tool/reboot.py in command line

reboot.py accept the same command line args except -p, use python main.py --help for more detail

clean code

python -c 'from lib.db.tomorrow import Auth; Auth.clean_codes_and_tokens()'

Project & Service

tomorrow uses the following projects & services. Much thanks to these awesome work!

Note for the file static/img/user.jpg, I can not find the source, nor do I know the license. If you know the source/license, or it has infringed your right, please tell me at tylertempdev@gmail.com.

About

website code for [tomorrow|jolla].comes.today

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published