Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Url Shortening simple web application #2

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
# UrlShortening
# UrlShortening
1. Make sure that Python is installed on your system. If not then download and install from www.python.org. Install Python version 2.7
2. Set the following paths in the PATH environment variable :
- C:\Python27\
- C:\Python27\Scripts\
- C:\Python27\Lib\site-packages\
4. To install Python packages on your computer, Setuptools is needed. Download the latest version of Setuptools for your Python version at https://pypi.python.org/pypi/setuptools#windows-powershell-3-or-later
3. If pip is not installed in your computer then open a command prompt and type easy_install pip
4. Then enter pip install django. You can verify by typing django-admin --version that django has successfully installed
5. Once all these setups are complete go to the folder containing this project in the command prompt.
6. Go inside the url_shortening folder and then type python manage.py runserver
7. This will start the server and you can access the application in your web browser using http://localhost:8000/my_shortener.com or http://127.0.0.1:8000/my_shortener.com
8. To close the server from the command prompt used CTRL + C
1 change: 1 addition & 0 deletions url_shortening/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.idea/
1 change: 1 addition & 0 deletions url_shortening/.idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions url_shortening/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions url_shortening/.idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions url_shortening/.idea/url_shortening.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions url_shortening/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions url_shortening/README.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# UrlShortening
1. Make sure that Python is installed on your system. If not then download and install from www.python.org. Install Python version 2.7
2. Set the following paths in the PATH environment variable :
- C:\Python27\
- C:\Python27\Scripts\
- C:\Python27\Lib\site-packages\
4. To install Python packages on your computer, Setuptools is needed. Download the latest version of Setuptools for your Python version at https://pypi.python.org/pypi/setuptools#windows-powershell-3-or-later
3. If pip is not installed in your computer then open a command prompt and type easy_install pip
4. Then enter pip install django. You can verify by typing django-admin --version that django has successfully installed
5. Once all these setups are complete go to the folder containing this project in the command prompt.
6. Go inside the url_shortening folder and then type python manage.py runserver
7. This will start the server and you can access the application in your web browser using http://localhost:8000/my_shortener.com or http://127.0.0.1:8000/my_shortener.com
8. To close the server from the command prompt used CTRL + C
Loading