vue-people
VuePeople lists and connects Vue.JS developers around the world.
Status
Fronted Build Setup
Specific Dev environment configurations
NEVER RUN THIS ON THE PRODUCTION SERVER
Backend build setup
Deploy
Deploy is done by CircleCi, manual deploy can be performed on a docker-compose enabled unix machine as follow:
SSL certificates
License
How to contribute:
- fork the repo
- clone the repo
cd vue-people/frontend && yarn
yarn dev
cp .env.template .env
- edit
.env
and:
-- addNODE_TLS_REJECT_UNAUTHORIZED = '0'
-- addWEBSOCKET_PROTOCOL=ws
-- modifyhost
tohost=0.0.0.0
cd ../django/ && cp .env.template .env
- add a random long strin under SECRET_KEY in django/.env
cd.. && docker-compose build
docker-compose up -d
docker-compose exec django python manage.py migrate
docker-compose exec django python manage.py createsuperuser
and follow the prompt to generate an admin user- go to
locahost/admin
and login with the created credentials - in the admin:
- Go to sites -> add site -> fill the two input with
localhost
- Go to social accounts/social applications -> add social application
- fill with: provider: GitHub | name: Github | ClientId: XXX | Secret Key: XXXX
- to obtain ClientID and Secret Key follow this guide: https://developer.github.com/apps/building-oauth-apps/creating-an-oauth-app/
- Homepage url is:
http://localhost
and callback url is:http://localhost/accounts/github/login/callback/
- Go to sites -> add site -> fill the two input with
- code :D
- commit and create a PR from your fork to this repo