Official Website of La Virtuele Streetwear Clothing Store
Before you proceed in to the next step, you will need to have both Python and Node installed in your machine.
First Time Setup
Run the shell script.
setup.sh
You only need to do this once.
Running The Development Server
This project has a completely separated client and server app.
Run Django Server
You need a python virtual environment (named 'env' if possible) inside the backend directory.
If you named your virtual environment other than 'env', kindly change the djserver.sh script to your needs.
The djserver.sh script may be slow since it's always installing the requirements and check for migrations.
# Create the env folder
python -m pip install virtualenv
virtualenv backend/env
backend/djserver.sh
Run Dockerize Django Server
Other than the conventional way to run a django project as mentioned above.
You can also use docker, but you need to have both docker and docker-compose available on your PATH.
docker-compose up --build
docker-compose -f docker-compose-deploy.yml up --build
Run Vue App
The first thing you need to do is change your working directory to the frontend folder, then run npm install.
If the installation is successfully completed, you can run npm run serve to start the app.
cd frontend
npm install
npm run serve