A simple url shortner
To run in development env:
- Install Docker https://www.docker.com/products/docker-desktop
- Make .env file in same directory as
docker-compose.yml
or edit the.env
path in it. Referenv_sample
file. - From the root directory of app execute
docker-compose up
ordocker-compose up -d
to run as daemon. Docker will pull and build the image first time and execute the containers. - Open
http://127.0.0.1/
to see things in action.
- To create super used make sure the docker containers are running.
- Login to docker machine of application 'docker-compose exec app sh'
- Navigate to application directory in VM.
cd ./application
- execute
./manage.py createsuperuser