Last active
September 25, 2022 15:52
-
-
Save UbuntuEvangelist/0fa59e503dfa9b194e23121dab608914 to your computer and use it in GitHub Desktop.
Redwood JS Deploy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt update && apt upgrade -y | |
apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev | |
apt install build-essential checkinstall | |
apt autoremove | |
apt install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev libffi-dev zlib1g-dev | |
cd /opt | |
wget https://www.python.org/ftp/python/3.9.9/Python-3.9.9.tgz | |
tar xzf Python-3.9.9.tgz | |
ls -la | |
rm -f Python-3.9.9.tgz | |
cd Python-3.9.9 | |
./configure --enable-optimizations | |
make altinstall | |
apt install python3-pip | |
cd | |
nano ~/.bashrc | |
# Add into the bottom | |
alias python=python3 | |
alias pip=pip3 | |
# Save & Exit ctrl+s and ctrl+x | |
alias python=python3 | |
alias pip=pip3 | |
source ~/.bashrc | |
sudo apt update | |
sudo apt upgrade -y | |
python --version | |
pip --version | |
apt install python3 g++ make python3-pip | |
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash - | |
apt install -y nodejs | |
apt install gcc g++ make | |
curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | |
sudo apt-get update && sudo apt-get install yarn | |
corepack enable | |
yarn set version stable | |
yarn --version | |
yarn create redwood-app my-redwood-project | |
cd my-redwood-project | |
ls | |
yarn add npm-check-updates | |
ncu -u | |
ncu -g | |
yarn rw dev | |
yarn redwood dev | |
yarn redwood g scaffold post | |
yarn rw storybook | |
yarn rw setup ui --help | |
yarn rw test | |
yarn rw setup deploy --help | |
yarn rw setup auth --help | |
yarn redwood upgrade | |
Author
UbuntuEvangelist
commented
Sep 25, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment