talent management. Check out the project's documentation.
Start the dev server for local development:
docker-compose up
Run a command inside the docker container:
docker-compose run --rm web [command]
Create initial admin user:
curl -d '{"username":"admin", "password1":"unobtanium", "password2":"unobtanium", "email":"[email protected]", "first_name":"test", "last_name":"user"}' \
-H "Content-Type: application/json" \
-X POST http://localhost:8000/api/rest-auth/register/
Test REST login:
curl -d '{"username":"admin", "password":"unobtanium"}' -H "Content-Type: application/json" -X POST http://localhost:8000/api/rest-auth/login/
Test token:
curl -H "Authorization: Token 75a015369025fff3912939ac3a3e20f680131a2c" -X GET http://localhost:8000/api/users
Test REST logout:
curl -H "Authorization: Token 9e2ecab6ddb40fefef48da8039695bbb8200ec1b" -X POST http://localhost:8000/api/auth/logout/
Deployment is automated via Travis. When builds pass on the master or qa branch, Travis will deploy that branch to Amazon EC2 via CodeDeploy & S3.
To set up
CodeDeploy: https://docs.aws.amazon.com/codedeploy/latest/userguide/codedeploy-agent-operations-install-ubuntu.html