Skip to content

Commit

Permalink
Updated: readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
Arvind authored Dec 31, 2022
1 parent d14c53c commit 27dc851
Showing 1 changed file with 39 additions and 18 deletions.
57 changes: 39 additions & 18 deletions README.md
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.

1 comment on commit 27dc851

@vercel
Copy link

@vercel vercel bot commented on 27dc851 Dec 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.