Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Fprime | 9,529 | 1 | 8 days ago | 21 | August 03, 2023 | 207 | apache-2.0 | C++ | ||
F' - A flight software and embedded systems framework | ||||||||||
Examples | 5,719 | a month ago | 3 | February 21, 2021 | 10 | apache-2.0 | Shell | |||
Kubernetes application example tutorials | ||||||||||
React Gh Pages | 5,472 | a month ago | 27 | TypeScript | ||||||
Deploying a React App (created using create-react-app) to GitHub Pages | ||||||||||
K8s Tutorials | 3,313 | a month ago | 1 | mit | Go | |||||
k8s tutorials | k8s 教程 | ||||||||||
Pipeline | 732 | 5 years ago | 7 | |||||||
A step by step guide on creating build and deployment pipelines for Kubernetes. | ||||||||||
Phoenix Chat Example | 696 | 2 days ago | Elixir | |||||||
💬 The Step-by-Step Beginners Tutorial for Building, Testing & Deploying a Chat app in Phoenix 1.7 [Latest] 🚀 | ||||||||||
Pathfinding Visualizer Tutorial | 537 | 7 months ago | 16 | JavaScript | ||||||
Tutorial for my original Pathfinding Visualizer project. | ||||||||||
Package | 493 | 5 | 1 | 4 years ago | 5 | March 25, 2018 | 30 | mit | Go | |
Metaparticle/Package: Language Fluent Containerization and Deployment in Java, .NET and Javascript (and more coming soon) | ||||||||||
Aem Guides Wknd | 247 | 1 | 24 days ago | 8 | November 15, 2022 | 38 | mit | JavaScript | ||
Tutorial Code companion for Getting Started Developing with AEM Sites WKND Tutorial | ||||||||||
Kubernetes Java Sample | 244 | 6 years ago | 9 | apache-2.0 | Java | |||||
Kubernetes Hands-on Workshop |
This series is all about deploying a Python web application on Ubuntu 18.04 LTS.
You can spin up a virtual machine with Ubuntu at a variety of places:
Google Cloud Compute Engine (https://cloud.google.com/compute/)
Amazon Web Services EC2 (https://aws.amazon.com/ec2/)
We'll be using Digital Ocean since it's really easy to get started. What you'll learn here can also be applied to deploying Python projects on any Ubuntu server. In some cases, this setup will work with other Linux distributions too albeit different methods of installation (ie not using apt-get
).
Here's the plan:
After you run the below command, you'll see an endpoint to add to your local git remote.
wget https://raw.githubusercontent.com/codingforentrepreneurs/Hello-Linux/master/setup.sh
chmod +x setup.sh
./setup.sh
We'll be using a bare bones Django project that's mostly ready for production. It's just an example but an important one to get this working.
Go to this guide to get started.
To create a PostgreSQL database, it's recommended to use setup.sh on Server.
Another option is to run:
# enable current logged in user as a default user for postgres
sudo -u postgres createuser $USER
sudo -u postgres psql --command="CREATE DATABASE ${projectDB};"
sudo -u postgres psql --command="CREATE USER ${projectDBuser} WITH PASSWORD '${newPassword}';"
sudo -u postgres psql --command="ALTER ROLE ${projectDBuser} SET client_encoding TO 'utf8';"
sudo -u postgres psql --command="ALTER ROLE ${projectDBuser} SET default_transaction_isolation TO 'read committed';"
sudo -u postgres psql --command="ALTER ROLE ${projectDBuser} SET timezone TO 'UTC';"
sudo -u postgres psql --command="GRANT ALL PRIVILEGES ON DATABASE ${projectDB} TO ${projectDBuser};"
Be sure to replace ${projectDB}
, ${projectDBuser}
, and ${newPassword}
to the values you want to use. The setup script does this automatically.
src/cfehome/settings/production.py
)DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql',
'NAME': '${projectDB}',
'USER': '${projectDBuser}',
'PASSWORD': '{newPassword}',
'HOST': 'localhost',
'PORT': '',
}
}
$ cd path/to/django/proj
$ pipenv shell
(venv) $ pipenv install psycopg2-binary # you might need this
(venv) $ python manage.py migrate
Our example
$ cd /var/www/hello_linux/src/
$ pipenv shell
(src) $ python manage.py migrate