https://github.com/anushbmx/url-shortner
A simple URL shorter
https://github.com/anushbmx/url-shortner
Last synced: 3 months ago
JSON representation
A simple URL shorter
- Host: GitHub
- URL: https://github.com/anushbmx/url-shortner
- Owner: anushbmx
- License: gpl-3.0
- Created: 2020-08-15T10:59:33.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-15T11:10:05.000Z (almost 5 years ago)
- Last Synced: 2025-02-07T15:45:19.197Z (4 months ago)
- Language: HTML
- Size: 433 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Django URL Shortner
A simple url shortner## How to Run
### Development
To run in development env:
1. Install Docker https://www.docker.com/products/docker-desktop
2. Make .env file in same directory as `docker-compose.yml` or edit the `.env` path in it. Refer `env_sample` file.
3. From the root directory of app execute `docker-compose up` or `docker-compose up -d` to run as daemon. Docker will pull and build the image first time and execute the containers.
4. Open `http://127.0.0.1/` to see things in action.#### Super user
1. To create super used make sure the docker containers are running.
2. Login to docker machine of application 'docker-compose exec app sh'
3. Navigate to application directory in VM. `cd ./application`
4. execute `./manage.py createsuperuser`