question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to build from source and start a local server?

See original GitHub issue

Hello guys,

I’m trying to customize a bit the app, but after several tries, I could not figure out the right way to do it.

I tried with the following commands:

pip install -r dev-requirements.txt
apt install uglifyjs -y
pip install shiv
doit build
doit build_pyz
python setup.py install

python dist/zerobin.pyz --host 0.0.0.0 --port 3260

The app starts, however the modifications that I made are not applied.

I performed a small change to style.css, but I cant make it propate to the app after the build.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
revijcommented, May 2, 2021

@niltonvasques Try this:

rm -rf build
rm -rf dist
python setup.py build
python setup.py install

zerobin --host 0.0.0.0 --port 3260

Also, based on the utils.py under the zerobin folder, it will create a .config folder on your home directory, from where it will read the settings.

0reactions
niltonvasquescommented, May 13, 2021

Flawless working @revij ! 💯 Thanks a lot dude! 🍻

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do you set up a local testing server? - MDN Web Docs
Open your command prompt (Windows) / terminal (macOS/ Linux). To check if Python is installed, enter the following command: · This should return ......
Read more >
Setup a Local Web Server on Windows, macOS, and Linux
It is very easy to set up a local web server on various OSes. Here we will show you how to setup Apache...
Read more >
How to Set Up a Local Web Server - Linux
1. A dedicated computer to become your server 2. Running Windows, or Linux or a Mac computer running macOS 3. An Internet connection...
Read more >
a simple guide for getting a local web server set up
next, open terminal or cmd and install the http-server module globally on your machine. npm install http-server -g. run it using CLI (specifying...
Read more >
PhpStorm - Create a local server configuration
In the local server configuration, you do your development, then copy the sources to the server. A local server is a server that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found