mike820324 / microProxy

A http/https interceptor written in pure python.
MIT License
17 stars 3 forks source link

Cleanup development files. #231

Closed mike820324 closed 7 years ago

mike820324 commented 7 years ago

After this commit, in test environment use

make install && mpserver --config-file ./conf/application.cfg

This PR depends on #229, since the logger config file is moved to conf folder.

coveralls commented 7 years ago

Coverage Status

Coverage remained the same at 85.879% when pulling df70fd6ba42544189867af16e299974fb2a2f2de on dev-file-cleanup into 7ecd4c8936034f8e0d751da4f3519728de7ba178 on master.

chhsiao90 commented 7 years ago

Is there anyway that I could run mpserver without define config path after this PR?

mike820324 commented 7 years ago

Without specified the options, the only way maybe cd into the conf folder.

Or maybe adding a new entry in Makefile

run-server:
    mpserver --config-file conf/application.cfg

This is a good point. It may bring a lot of inconvenience when developing right? I'll modify this PR a bit, only removing the main.py, but remain the configuration files.

chhsiao90 commented 7 years ago

I can accept with the Makefile solution if there is no better solution!

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.06%) to 85.939% when pulling 9e022daf80222494f8341b764b6e4a752c51bafe on dev-file-cleanup into 7ecd4c8936034f8e0d751da4f3519728de7ba178 on master.