Giter Site home page Giter Site logo

jayfk / launchr Goto Github PK

View Code? Open in Web Editor NEW
229.0 11.0 39.0 192 KB

Launchr is an open source SaaS starter kit, based on Django.

Home Page: https://getlaunchr.com/

License: MIT License

Python 9.48% Dockerfile 0.21% CSS 1.37% HTML 88.79% Shell 0.15%
docker docker-compose template-project django saas-boilerplate boilerplate-template django-boilerplate stripe-checkout stripe-payments

launchr's Introduction

Launchr

Launchr

Status codecov GitHub Issues GitHub Pull Requests License


Launchr is an open source SaaS starter kit.

About

Launchr is a fully-equipped starter template, ready to start a SaaS web app. It implements the whole payment flow + subscription management and comes with user authentication & registration and a ton of other features.

Getting Started

If you want to try out Launchr, follow the examples below.

Prerequisites

Install Docker and Docker Compose.

Installing

To create a new project, open up a terminal and clone Launchr to your current working directory:

git clone https://github.com/jayfk/launchr.git

Move the repository you just cloned to the one your are going to use for your project:

mv launchr project_name

Switch to your newly created project directory and start the stack:

cd project_name
docker-compose up

Once Docker is finished downloading and building, open up a second terminal and run the initial migrations for the project:

docker-compose run app python manage.py migrate

You should now be able to reach your local development server by visiting http://localhost:8000/.

Where to go from here?

One of the first things you want to do is to set up payments via Stripe.

Documentation

Click here to find the Documentation.

launchr's People

Contributors

jayfk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

launchr's Issues

Implement, document and test every url/template

/
notes:

  • view: TemplateView in config/urls.py
  • template: templates/pages/home.html
  • title: Home
  • name: home

about/
notes:

  • view: TemplateView in config/urls.py
  • template: templates/pages/about.html
  • title: About
  • name: about

pricing/
notes:

  • view: TemplateView in config/urls.py
  • template: templates/pages/pricing.html
  • title: Pricing
  • name: pricing

tos/
notes:

  • view: TemplateView in config/urls.py
  • template: templates/pages/tos.html
  • title: Terms of Service
  • name: tos

privacy-policy/
notes:

  • view: TemplateView in config/urls.py
  • template: templates/pages/privacy-policy.html
  • title: Privacy Policy
  • name: privacy-policy

app/
notes:

  • view: DashboardView in {{project_slug}}/app/views.py
  • template: templates/app/home.html
  • title: Account - Home
  • name: app:home

app/users/~update/
notes:

  • view: UserUpdateView in {{project_slug}}/users/views.py
  • template: templates/app/users/user_form.html
  • title: Profile
  • name: app:users:update

app/users/
notes:

  • view: UserDetailView in {{project_slug}}/users/views.py
  • template: templates/app/users/user_detail.html
  • title: Profile
  • name: app:users:detail

auth/^^signup/$
notes: this url is provided by django-allauth

  • view: x
  • template: templates/auth/account/signup.html
  • title: Sign Up
  • name: account_signup

auth/^^login/$
notes: this url is provided by django-allauth

  • view: x
  • template: templates/auth/account/login.html
  • title: Login
  • name: account_login

auth/^^logout/$
notes: this url is provided by django-allauth. The template is not used since logout on GET is configured by default

  • view: x
  • template: None
  • title: None
  • name: account_logout

auth/^^password/change/$
notes: this url is provided by django-allauth

  • view: x
  • template: templates/auth/account/password_change.html
  • title: Change Password
  • name: account_change_password

auth/^^password/set/$
notes: this url is provided by django-allauth

  • view: x
  • template: templates/auth/account/password_set.html
  • title: Set Password
  • name: account_set_password

auth/^^inactive/$
notes: this url is provided by django-allauth

  • view: x
  • template: templates/auth/account/account_inactive.html
  • title: Account Inactive
  • name: account_inactive

auth/^^email/$
notes: this url is provided by django-allauth

  • view: x
  • template: templates/auth/account/email.html
  • title:
  • name: account_email

auth/^^confirm-email/$
notes: this url is provided by django-allauth

  • view: x
  • template: templates/auth/account/verification_sent.html
  • title: Veriy Email
  • name: account_email_verification_sent

auth/^^confirm-email/(?P[-:\w]+)/$
notes: this url is provided by django-allauth. The template is not used since the user is automatically logged in on confirmation.

  • view: x
  • template: None
  • title: None
  • name: account_confirm_email

auth/^^password/reset/$
notes: this url is provided by django-allauth

  • view: x
  • template: templates/auth/account/password_reset.html
  • title: Password Reset
  • name: account_reset_password

auth/^^password/reset/done/$
notes: this url is provided by django-allauth

  • view: x
  • template: templates/auth/account/password_reset_done.html
  • title: Reset Password - done!
  • name: account_reset_password_done

auth/^^password/reset/key/(?P[0-9A-Za-z]+)-(?P.+)/$
notes: this url is provided by django-allauth

  • view: x
  • template: templates/auth/account/password_reset_from_key.html
  • title: Change Password
  • name: account_reset_password_from_key

auth/^^password/reset/key/done/$
notes: this url is provided by django-allauth

  • view: x
  • template: templates/auth/account/password_reset_from_key_done.html
  • title: Change Password
  • name: account_reset_password_from_key_done

auth/^social/^login/cancelled/$
notes: this url is provided by django-allauth

  • view: x
  • template: templates/auth/socialaccount/login_cancelled.html
  • title: Login Cancelled
  • name: socialaccount_login_cancelled

auth/^social/^login/error/$
notes: this url is provided by django-allauth

  • view: x
  • template: templates/auth/socialaccount/authentication_error.html
  • title: Network Login Failure
  • name: socialaccount_login_error

auth/^social/^signup/$
notes: this url is provided by django-allauth

  • view: x
  • template: templates/auth/socialaccount/signup.html
  • title: None
  • name: socialaccount_signup

auth/^social/^connections/$
notes: this url is provided by django-allauth

  • view: x
  • template: templates/auth/socialaccount/connections.html
  • title: Account Connections
  • name: socialaccount_connections

400/
notes: available while DEBUG=True

  • view: path override in config/urls.py while DEBUG=True
  • template: None using the standard Django template
  • title: None, using the standard title

403/
notes: available while DEBUG=True

  • view: path override in config/urls.py while DEBUG=True
  • template: templates/403.html
  • title: Forbidden (403)

404/
notes: available while DEBUG=True

  • view: path override in config/urls.py while DEBUG=True
  • template: templates/404.html
  • title: Page not found (404)

500/
notes: available while DEBUG=True

  • view: path override in config/urls.py while DEBUG=True
  • template: templates/500.html
  • title: Server Error (500)

Running in production

The docker compose uses runserver.
The documentation does not mention anything about a good pratice for running in production.
Is there some gunircorn or other server that is included and ready to run?

Is this project abandon?

I would like to use this product with the production plan, but the documentation is quite lacking. Is this project still actively maintained?

Use the correct link to manage beta users

Currently, the email to inform that a new user requested an invite is using a dummy link.
It should contain the link to the interface. The link is generated in beta/views.py

How to enter Django admin panel?

Hi! This is a great template.

I'm trying to login to the Django admin panel at http://0.0.0.0:8000/admin/. I tried to create an admin user with this comand, but after creating it I still can't login.

docker-compose run app python manage.py createsuperuser

InitializationError: docker-credential-gcloud not installed or not available in PATH

Hi!

This error shows up when I run docker-compose up

Building app
Traceback (most recent call last):
  File "/usr/bin/docker-compose", line 11, in <module>
    load_entry_point('docker-compose==1.22.0', 'console_scripts', 'docker-compose')()
  File "/usr/lib/python3.7/site-packages/compose/cli/main.py", line 71, in main
    command()
  File "/usr/lib/python3.7/site-packages/compose/cli/main.py", line 127, in perform_command
    handler(command, command_options)
  File "/usr/lib/python3.7/site-packages/compose/cli/main.py", line 1052, in up
    to_attach = up(False)
  File "/usr/lib/python3.7/site-packages/compose/cli/main.py", line 1048, in up
    silent=options.get('--quiet-pull'),
  File "/usr/lib/python3.7/site-packages/compose/project.py", line 471, in up
    svc.ensure_image_exists(do_build=do_build, silent=silent)
  File "/usr/lib/python3.7/site-packages/compose/service.py", line 352, in ensure_image_exists
    self.build()
  File "/usr/lib/python3.7/site-packages/compose/service.py", line 1067, in build
    platform=self.platform,
  File "/usr/lib/python3.7/site-packages/docker/api/build.py", line 251, in build
    self._set_auth_headers(headers)
  File "/usr/lib/python3.7/site-packages/docker/api/build.py", line 313, in _set_auth_headers
    credstore_env=self.credstore_env
  File "/usr/lib/python3.7/site-packages/docker/auth.py", line 96, in resolve_authconfig
    authconfig, registry, store_name, env=credstore_env
  File "/usr/lib/python3.7/site-packages/docker/auth.py", line 127, in _resolve_authconfig_credstore
    store = dockerpycreds.Store(credstore_name, environment=env)
  File "/usr/lib/python3.7/site-packages/dockerpycreds/store.py", line 25, in __init__
    self.program
dockerpycreds.errors.InitializationError: docker-credential-gcloud not installed or not available in PATH

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.