Comments (3)
The auth program is sort of built around how the Raspberry Pi is configured. It expects there to be a "pi" user and to be able to set the password for it.
It's sort of outside of what we're doing for this version, but you're not the first to mention interest in a non-pi specific version. If you want to take a stab at configuring a standalone version of Coder, you'll need to make some changes to /apps/auth/app.js.
Specifically, you'll need to remove the pieces that set the pi password. See exports.api_changepassword_handler and exports.api_addpassword_handler. You'll basically need to do what's inside the setpipass exit handler, and ignore the rest. Let us know how it goes.
from coder.
I played with this too under Ubuntu, using http://chrismcleod.me/2013/09/13/run-coder-for-raspberry-pi-on-your-linux-pc as a guide.
I had to make sure I imported nodejs and nodejs-legacy packages. I noticed that the client prompted me for my unix password (as I am guessing it is doing above). I assume it is for the user that ran npm to set the pi user's password.
Not totally sure I would want this functionality on my laptop (user pi has full shell access).
In addition code adds some unusual restrictions on the password (one lower case, 2 uppercase/symbols, 6 chars long) Lifting this restriction required changes in the password app and some files in /static/
from coder.
I updated the wiki page, Load onto a device without installing OS, with info from my experience doing this on Mac OS X. The password stuff mentioned above comes from using sudo
to set the pi
account password. This is easily avoided with a simple, local code change to not use sudo
. (I'm currently looking into a cleaner solution that could be integral to the mainline source tree.)
Also, I found no need for redis
, Xcode or anything besides node
(and npm). It really was quite nice and simple to get Coder running on a Mac.
from coder.
Related Issues (20)
- add the code to a website
- Long wait with no user feedback after login HOT 1
- Blinky Lights coder project bug
- Chromebook " issue. HOT 2
- The Mac Installer bundles an older version of raspi.img file HOT 1
- Coder + RPi + Arduino with Sensors Possible?
- Raspberry Pi 3 HOT 16
- Installing TWEEPY through ssh
- error starting localserver.js HOT 1
- Multiple users in Coder server
- Installation Error Using Mac Installer HOT 4
- Unable to install coder manually on raspbian lite
- Raspberry pi 3 not booting up with coder HOT 7
- installed bonjour print services still not able to access http:coder.local HOT 2
- Google Coder as a Background service?
- Install using Etcher
- Is it possible to run Coder on windows? HOT 1
- Pi Zero W
- Hi
- Coder HOT 2
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 coder.