/makewiki

Primary LanguagePythonMIT LicenseMIT

📓 Personal Wiki

View the [lesson plan] that accompanies this activity.

Step 1: Follow Setup Guide

⭐️ IMPORTANT: Change YOUR_GITHUB_USERNAME before hitting <ENTER> on the last step.
✅ EXAMPLE: Change git remote add https://github.com/YOUR_GITHUB_USERNAME/makewiki to git remote add https://github.com/droxey/makewiki for Dani's version of the makewiki project.

  1. In your browser, create a new public repository on GitHub called makewiki.

  2. In your terminal, navigate to the directory where you store your projects.

  3. Paste each line below into the terminal, one by one. Hit <Return> after each line:

    git clone https://github.com/make-school-labs/makewiki-starter makewiki
    cd makewiki
    rm -rf .git
    git init
    git remote add origin https://github.com/YOUR_GITHUB_USERNAME/makewiki
  4. Open the makewiki repository folder in your IDE.

Step 2: Link Repository in Tracker

Add the link to your project in the Course Tracker.

Step 3: CRUD Page Instances (Admin Interface)

  1. In your terminal, run python manage.py runserver.
  2. Visit http://127.0.0.1:8000/admin/ in your browser.
  3. Enter admin for the username and djangopony for the password.
  4. Click Pages on the left, underneath Users and Groups.
  5. Add real world data from 5 random Wikipedia articles using http://wikiroulette.co/.

Step 4: Solve the Challenges

  1. REQUIRED: Complete challenges in each of these files, in order:
    1. makewiki/urls.py
    2. wiki/views.py
    3. wiki/urls.py
    4. templates/base.html
  2. OPTIONAL: Move on to the stretch challenges in the code, or enhance the project using the suggestions below.

TIP: Find all challenges by searching the project for instances of the word CHALLENGE. To search all files in your project directory, press <Command> + <Shift> + <F>, type CHALLENGE, and hit <Return>.

Step 5: Level Up

Suggestions

  • Create a beautiful user interface for your wiki. Bootstrap 4 is included with this starter pack!
  • Customize the project and continue to experiment with the codebase.
  • Make the models more sophisticated.
  • What other features can you dream up? What would look good on your portfolio? Open up a discussion with your instructor to receive personalized feedback.

Step 6: Add to Portfolio

Add your makewiki implementation to your Make School portfolio.