-
SSH linked with your GitLab account
-
If you are not using the docker app, you will also need:
git clone [email protected]:dei-uc/es2023/pl3.git
After cloning the project, you need to create a .env
file in the DEV/frontend
like the .env.sample
file (copy-paste that file and rename it to just ".env").
These are the extensions that are recommend for VSCode, the first one is the most important.
- dbaeumer.vscode-eslint
- usernamehw.errorlens
- dsznajder.es7-react-js-snippets
- wix.vscode-import-cost
- christian-kohler.npm-intellisense
- mrmlnc.vscode-scss
- ms-python.python
- naumovs.color-highlight
If you are using the Docker app, i recommend to watch this video.
To run the project, you just need to run the following command in the DEV
folder:
docker compose up
docker compose exec backend-django sh # Access Django backend container terminal
docker compose exec backend-rails bash # Access Rails backend container terminal
docker compose exec frontend sh # Access frontend container terminal
Inside the django container you can run the following commands:
db:create # Make migrations
db:migrate # Migrate
create:admin # Create superuser (admin)
django # instead of using `python3 manage.py` you can use `django`
Backend should be running on port 8080 and frontend on port 3000.
- Not possible yet
- Docker and Docker Compose
- Backend
- Django
- Rails
- Frontend
- Vite - React
- Sass