Comments (3)
Thanks for pointing that out. That indeed was a typo. I have corrected it now. 🙂
from sanctuary.
One more thing that may help improve the documentation:
The instruction to install the dependencies (pip3 install -r requirements.txt) comes after activating the virtual environment. Subsequently, the instructions say to open a terminal and run the Sanctuary WebSockets Server. Thus the latter does not have access to any dependencies that needed to be installed because the former was done inside the virtual environment.
In my case, for instance, I had to install websockets a second time even though I correctly executed the dependency installation step.
A simple fix may be to move the step to install the dependencies prior to the step to activate the virtual environment.
from sanctuary.
The virtualenv
is a necessity for ensuring that the dependencies of the script serve the intended script only so when a new terminal is opened and a script is executed - it would require activation of that specific virtual environment.
The instruction to install the dependencies
pip3 install -r requirements.txt
comes after activating the virtual environment.
That is an intended instruction. This is to ensure that all the requirements that are fetched should be limited to these scripts only and not modify those of outside.
Subsequently, the instructions say to open a terminal and run the Sanctuary WebSockets Server. Thus the latter does not have access to any dependencies that needed to be installed because the former was done inside the virtual environment.
I appreciate your attention. That is indeed correct when you say that the Sanctuary WebSockets Server will not have access to the installed dependencies as previously they were done exclusively inside the virtual environment. We can simply fix that by activating the virtual environment for the other terminal first before running the server.
I have fixed that in the documentation now to make it more clear. 🙂
from sanctuary.
Related Issues (20)
- only chatroom identify DEADCAFE works HOT 3
- Add client-side AES encryption and decryption for added security
- Add a WYSIWYG text editor for sending an receiving stuff after sanitizing inputs HOT 2
- Sanitizing scripts given as input from the text box. HOT 5
- Prevent script injection from browser console HOT 2
- Empty messages for same roomname but wrong password
- Dont rely on the builting Flask Development server.
- Add CONTRIBUTING.md and CODE_OF_CONDUCT.md HOT 2
- Version bump for the dependencies in requirement list HOT 3
- Package the chatroom server in an executable binary HOT 10
- Package the websockets server in an executable binary HOT 2
- Fetch and display the IPv4/IPv6 address on the verbose
- Add Option for IP Address HOT 16
- Console Colors on windows do not work HOT 2
- Create a wiki HOT 4
- Servers can be unified using threading HOT 3
- Empty messages can be sent using repeated spaces HOT 5
- Security for command usage like `/kick`, `/stop` HOT 4
- PEP8 Automatic PR checks (Code Linting) HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sanctuary.