https://github.com/sdslabs/portfolio
Portfolio repository for SDSLabs built with CSS & :heart:
https://github.com/sdslabs/portfolio
Last synced: about 1 year ago
JSON representation
Portfolio repository for SDSLabs built with CSS & :heart:
- Host: GitHub
- URL: https://github.com/sdslabs/portfolio
- Owner: sdslabs
- Created: 2014-01-18T10:55:13.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2024-10-22T06:30:03.000Z (over 1 year ago)
- Last Synced: 2024-10-23T09:19:35.019Z (over 1 year ago)
- Language: JavaScript
- Homepage: http://sdslabs.co/
- Size: 37.7 MB
- Stars: 12
- Watchers: 35
- Forks: 9
- Open Issues: 11
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
README
# Portfolio
Portfolio of SDSLabs made in Django and Vue.
## Setup Instructions
- Install python and pip.
- Install virtualenv.
- Clone the github repository.
- Go the root directory of the project and run `virtualenv -p python3 ./venv`.
- Activate the virtualenv with `source ./venv/bin/activate`.
- Run `pip install -r settings/requirements-common.txt`.
- Run `pip install -r settings/dev/requirements-dev.txt` or `pip install -r settings/prod/requirements-prod.txt` depending on the environment.
The next 2 steps are for installing postgresql. Alternatively, if you do not want to use docker you can install postgresql on your own.
- Make sure `docker` and `docker-compose` is installed.
- Run `docker-compose -f settings/dev/postgres-docker-compose.yml up -d`.
- Once you have an up and running configuration of postgresql copy `settings/dev/settings.sample.py` to `settings/dev/settings.py` and update the postgresql credentials.
- Run `python manage.py migrate --settings settings.dev.settings`.
- Run `python manage.py createsuperuser --settings=settings.dev.settings`.
- Run `python manage.py runserver --settings settings.dev.settings`.
- Open `localhost:8000/admin` to verify that your django backend is working perfectly.
- Go to the `frontend` directory.
- Run `npm install`.
- Run `npm run serve`.
- Open `localhost:8080` to see the frontend.