Git Product home page Git Product logo

sanicbook's Introduction

Getting started

$ docker-compose build
$ docker-compose up

How I released this project?

This project has been deployed using Heroku. After signing up for an account, I followed these steps.

Step 1. Create new app

Following the steps was pretty simple. Since I am deploying a single application, I chose an "app" and not a "pipeline." I then selected the GitHub deployment method amd followed the prompts to connect my repository ahopkins/sanicbook.

Heroky offered the option of "automatic deploys", which I elected to enable. Since the default branch of my application is main, I made sure that that was selected as my "deploy branch".

Step 2. Install heroku CLI

I used the instructions provided by the Heroku resource here: https://devcenter.heroku.com/articles/git, and installed the CLI tool. Since I use Arch Linux, my installation was as simple as:

yay -S heroku-cli

Next thing I needed to do was login:

heroku login

Step 3. Setup the app deployment

Since I created the app in the Heroku UI in Step 1, I needed to add it as an existing application and not create a new one. The command for this is:

heroku git:remote -a sanicbook

Next, I want to use the Python "buildpack", but because I have the repository nested I cannot use the default. Therefore, following these steps I ran:

heroku buildpacks:set https://github.com/timanovsky/subdir-heroku-buildpack 
heroku buildpacks:add heroku/python
heroku config:set PROJECT_PATH=application

sanicbook's People

Contributors

ahopkins avatar duffn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.