- Have this project skeleton setup;
- Prepare either a Dockerfile or a Vagrantfile for this project so that collaborators of this project can have an unified environment to work on;
The project basically has two features:
- The administrator of website can publish code snippets;
- The administrator can publish questions, and anonymous users can answer the questions with code snippets.
Implement the above-mentioned features.
NOTE: please have twelve-factor in mind during your implementation.
Test your project with unit testing and manual testing.
Publish code snippets answer the following questions:
Q1. What does this stuff mean: *args, **kwargs? And why would we use it?
Q2. Fill in the missing code:
def print_directory_contents(dpath): pass