-
Front End: http://localhost:3000
-
Back End: http://localhost:8000
- Admin: http://localhost:8000/admin
- Docs: http://localhost:8000/doc
- Open API: http://localhost:8000/api
-
yarn front:install
$ cd client && yarn install
-
yarn server:install
$ source env/bin/activate && cd api && pip install -r requirements.txt
-
yarn front:start
$ cd client && yarn dev
-
yarn server:start
$ source env/bin/activate && cd api && python manage.py runserver
-
yarn server:migrate
$ cd api && python manage.py migrate
-
yarn server:makemigrations
$ cd api && python manage.py makemigrations
-
yarn server:createsuperuser
$ cd api && python manage.py createsuperuser
- yarn front:start
- yarn server:start
-
admin admin
-
User-Interviewer 8kLNEheFS@2M7PT
- API
- Models
- ADMIN
- login with user/pass
- login errors
- ir a entrevista o ver resultados
- resultados de entrevista
- ir a la entrevista es para ejecutar el cuestionario
- abm candidatos list
- abm candidatos create
- abm candidatos edit
- list
- Interview complex form
- Add login using JWT
- Add security to Candidates
- Add security to Interviews
- Add security to Questions
- Add security to Challenges
-
EBCli install: https://github.com/aws/aws-elastic-beanstalk-cli-setup
-
apt-get update
-
apt-get upgrade -y
-
apt-get install libgdal-dev
-
apt install python3-pip
-
pip install virtualenv
-
pip install GDAL
-
virtualenv env
-
source env/bin/activate
-
pip install django
-
pip install gunicorn
-
apt-get install -y nginx
- start nginx: nginx
-
apt-get install npm
-
npm install -g yarn
-
apt-get install supervisor
- add supervisor config:
- cd /etc/supervisor/conf.d/
- touch gunicorn.conf [program:gunicorn] directory=/home/ubuntu
- add supervisor config:
-
AWS: config inbound rules for security group
-
cd fullstack/api
-
gunicorn --bind 0.0.0.0:8000 interview_project.wsgi:application
Open aplication: http://ec2-18-236-160-0.us-west-2.compute.amazonaws.com:8000/doc