-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Arvind
authored
Dec 31, 2022
1 parent
d14c53c
commit 27dc851
Showing
1 changed file
with
39 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,60 @@ | ||
# Landing-Page-in-Django | ||
|
||
# Landing Page | ||
|
||
Make a Landing Page for your Business with Django and Postgres. | ||
|
||
Take a Look What is Built. [landingbusinesspage.herokuapp.com](https://landingbusinesspage.herokuapp.com/) | ||
## Stack | ||
|
||
# How to Run this Locally | ||
- [Django](https://www.djangoproject.com) - Django makes it easier to build better web apps more quickly and with less code. | ||
- [Bootstrap](https://getbootstrap.com/) - Build fast, responsive sites with Bootstrap. | ||
- [Postgres](https://firebase.google.com/) - The World's Most Advanced Open Source Relational Database. | ||
|
||
--- | ||
|
||
Deployed on [Vercel](https://vercel.com/). <br/> | ||
Click Here for [Live Preview.](https://getidea.ml) | ||
|
||
--- | ||
|
||
|
||
### Step 1: Create a Virtual Environment | ||
|
||
|
||
Add Your Environment variable to `.env`. <br /> | ||
Refer `.sample.env` file. | ||
|
||
--- | ||
# How to Run this Locally | ||
|
||
### Step 1: Clone Repository: | ||
``` | ||
pip install virtualenv | ||
cd /path/to/folder | ||
mkdir landing_page | ||
cd landing_page | ||
virtualenv . | ||
source scripts/activate | ||
mkdir landing | ||
cd landing | ||
git clone https://github.com/Arvind-4/Landing-Page-in-Django.git . | ||
``` | ||
|
||
### Step 2: Clone Repository and Install Dependencies | ||
### Step 2: Create a Virtual Environment: | ||
``` | ||
pip3 install virtualenv | ||
cd landing | ||
python3.9 -m virtualenv . | ||
source bin/activate | ||
``` | ||
**For Windows use:** `.\Scripts\activate` | ||
|
||
### Step 3: Install Dependencies: | ||
``` | ||
cd /path/to/folder | ||
mkdir src | ||
cd src | ||
git clone https://github.com/Arvind-4/Landing-Page-in-Django.git . | ||
pip install -r requirements.txt | ||
``` | ||
|
||
|
||
### Step 3: Run the Server | ||
``` | ||
cd /path/to/folder/landing_page | ||
cd /path/to/folder/landing | ||
python manage.py makemigrations | ||
python manage.py migrate | ||
python manage.py createsuperuser | ||
python manage.py runserver | ||
python manage.py runserver localhost:8000 | ||
``` | ||
|
||
Open [127.0.0.1:8000](http://127.0.0.1:8000/) in Browser.<br> | ||
Take a Look at the Website on [landingbusinesspage.herokuapp.com](https://landingbusinesspage.herokuapp.com/) | ||
Open [localhost:8000](http://localhost:8000/) in Browser. |
27dc851
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
landing-page-in-django – ./
landing-page-in-django.vercel.app
landing-page-in-django-arvind-4.vercel.app
landing-page-in-django-git-main-arvind-4.vercel.app
www.getidea.ml
getidea.ml