Welcome to the Wikigame project! This guide will help you set up the backend and frontend of the Wikigame. Let's get started! π
-
Clone the repository π
git clone git@github.com:Darleanow/WikiGame.git
-
Navigate to the project directory π
cd WikiGame -
Set up a virtual environment π
python -m venv .venv
-
Activate the virtual environment π
.venv\Scripts\activate
Note: If you are on MacOS or Linux, use
source .venv/bin/activateinstead. -
Install the required packages π¦
pip install -r ./wikigame_backend/requirements.txt
-
Run the backend server π
python ./manage.py runserver
Your backend server should now be running on
http://127.0.0.1:8000/π
-
Navigate to the frontend directory π
cd ../wikigame_frontend -
Install the frontend dependencies π¦
npm install
-
Run the frontend development server π
npm run dev
Your frontend server should now be running on
http://localhost:3000/π
You've now set up both the backend and frontend for Wikigame! Here are the quick steps summarized:
-
Backend Setup:
- Clone the repo
- Navigate to the project directory
- Set up and activate the virtual environment
- Install dependencies
- Run the server
-
Frontend Setup:
- Navigate to the frontend directory
- Install dependencies
- Run the development server
You're all set up to start developing with Wikigame. Happy coding! β¨
If you encounter any issues, feel free to open an issue on GitHub. I'm here to help!
Made with β€οΈ by myself :p