This Oasis Forum is used as a spiritual healing forum, by posting some heart-warming sentences to share everyone's current status, which can also help some people who are at a low point.
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
-
You can use
git clone git@github.com:david188888/Oasis.gitto clone the project which is in my repositories.
-
Unzip the zip folder
- Python 3.10.0
- Node.js 18.15.0
- npm 9.6.2
- vite.js/plugin-vue 4.3.4
- Django 4.1
- djangorestframework 3.14.0
- The requirements of the backend are in the requirements.txt.
- The requirements of the frontend are in the package.json.
-
create a virtual environment and switch to backend folder.
-
Install the django using
pip install djangofirst. -
Run the command
pip install -r requirements.txtto install the dependencies. -
Go to the backend folder.
-
Migrate the database using
python manage.py makemigrationsfirstly and then usingpython manage.py migrate. -
Using
python manage.py runserverto start the backend server ofDjango.
- You should install the
nodefirst. - go to the Oasis folder.
- use
npm installto install the dependencies. - use
npm run devto start the frontend server ofVue3. - Now you can click on its url to enter our website.