View the [lesson plan] that accompanies this activity.
⭐️ 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.
-
In your browser, create a new public repository on GitHub called
makewiki
. -
In your terminal, navigate to the directory where you store your projects.
-
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
-
Open the
makewiki
repository folder in your IDE.
Add the link to your project in the Course Tracker.
- In your terminal, run
python manage.py runserver
. - Visit
http://127.0.0.1:8000/admin/
in your browser. - Enter
admin
for the username anddjangopony
for the password. - Click
Pages
on the left, underneathUsers
andGroups
. - Add real world data from 5 random Wikipedia articles using http://wikiroulette.co/.
- REQUIRED: Complete challenges in each of these files, in order:
makewiki/urls.py
wiki/views.py
wiki/urls.py
templates/base.html
- 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>
.
- 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.
Add your makewiki
implementation to your Make School portfolio.