Skip to content

webclinic017/Sloby

Repository files navigation

Sloby 🦥

The next level online editor the allows people to build their own websites without no problem . $${\color{red}How \space \color{lightblue}Does \space \color{orange}sloby \space \color{lightblue} works? }$$

Parts of the sloby:

The Editor(itself)

The sloby-python-framework

The parsers(python, react)

Setup.

Docker Installation 📦

Install docker for your operating system: https://docs.docker.com/get-docker/

  • Linux/Ubuntu

sudo snap install docker
sudo docker-compose up
  • Windows

https://docs.docker.com/desktop/install/windows-install/

PostgreSQL

Download and setup

Don't forget Add it to the path environment variable: https://www.youtube.com/watch?v=D3YzLLo34ZU

Node

Node Linux Setup

$snap install node --classic
$node --version
v16.16.0
$sudo "curl -qL https://www.npmjs.com/install.sh > install.sh"
$npm --version
8.15.0

Node Windows setup

https://nodejs.org/en/download/
node -v
v14.18.1

Install project Dependencies

cd site
npm install

It is going to install the package-lock.json

# serve the webpage with:
cd site
npm start

Python(FastAPI)

Create a virtual environment. python -m venv venv . venv/bin/activate for linux .\venv\Scripts\activate for windows powershell.

Install FastAPI:

https://fastapi.tiangolo.com/tutorial/

pip install fastapi

Run:

To serve the python websocket, use

If you working with python package*

cd app/

uvicorn main:app --reload

Authors and Contributors 🤼

  • Add people here (Contributor/Author) ~ Contribution to the project

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published