A rapid-fire building of a dynamic landing page to introduce the series -- HiitStartup \ https://kirr.co/kb0y88.
Use this project to launch your idea today.
Watch here: https://www.codingforentrepreneurs.com/projects/idea-landing/
If using a custom domain, go to your Heroku account https://dashboard.heroku.com/apps/<your-app-name>/settings then add your custom domain. Ensure this domain is in your Config Variables which is also on that page. Restart all dynos if needed.
=====
Launching on your own project:
-
Create & Activate Virtualenv:
$ cd ~/desktop $ virtualenv -p python 3 knockenv && cd knockenv $ source bin/activate -
Clone project:
$ pwd /desktop/knockenv/ $ mkdir src && cd src $ git clone https://github.com/codingforentrepreneurs/Idea-Landing . $ pip install -r requirements.txt -
Remove & Start new Git Repo:
$ rm -rf .git # removes old git repo $ git init # creates your new repo $ git add --all $ git commit -m "Initial Commit" -
Create Heroku App:
$ pwd /desktop/knockenv/src/ $ heroku createIn
production.pyadd your newly created url such ashttps://<yourapp>.herokuapp.com/toALLOWED_HOSTS. Saveproduction.py$ git add --all $ git commit -m "Updated production" -
Add Database & Deploy:
$ heroku addons:create heroku-postgresql:hobby-dev $ git push heroku master $ heroku run python manage.py migrate $ heroku run python manage.py createsuperuser -
Add Custom Domain (optional):
- Update
production.py'sALLOWED_HOSTSto include your custom domain such asALLOWED_HOSTS = ['.sporproject.com', 'knockhq.herokuapp.com']
$ heroku domains:add *.sporproject.comUpdate your DNS as needed here
- Update
