Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
lamassu-admin
Advanced tools
Lamassu admin server. First part of Lamassu stack you need to install.
Lamassu admin server. First part of Lamassu stack you need to install.
git clone git@github.com:lamassu/lamassu-admin.git
cd lamassu-admin
npm install
You also need a Postgres running. Postgres is required for storing configuration of the remote server. Install Postgres with your package manager of choice, then:
sudo su - postgres
createuser --superuser lamassu
createdb -U lamassu lamassu
Then you need SQL scripts to seed initial configs. They are under /database
.
You can bootstrap your database by running:
psql lamassu lamassu < database/lamassu.sql
You'll be able to configure your stack when you start the server for the first time.
node app.js
Then, open it.
Both lamassu-admin
and lamassu-server
are deployable to Heroku.
First, you need to get a Heroku account and install the Heroku toolkit.
deploy-all.sh
is an easy installation and deployment script. You can run it
standalone, without cloning lamassu-admin
. It'll clone both repositories to
your current working directory and deploy them to Heroku:
mkdir lamassu
curl https://raw.github.com/lamassu/lamassu-admin/master/deploy-all.sh > deploy-all.sh
chmod +x deploy-all.sh
./deploy-all.sh
You can deploy updates to your applications by rerunning deploy-all.sh
.
You can also clone and deploy each app individually. To do that, clone both
lamassu-admin
and lamassu-server
.
git clone https://github.com/lamassu/lamassu-admin.git
git clone https://github.com/lamassu/lamassu-server.git
Next, deploy lamassu-admin
:
cd lamassu-admin
./deploy.sh
Visit the deployed application to configure your Lamassu ATM. Make sure to input all required API keys.
Next, to deploy lamassu-server
you need to grab DATABASE_URL
for the Postgres
database our deployment script created.
db=$(heroku config:get DATABASE_URL)
Then, go to lamassu-server
and deploy it:
DATABASE_URL="$db" ./deploy.sh
You need to pass DATABASE_URL
to it since both lamassu-admin
and lamassu-server
use the same database.
Both applications should be deployed and running.
FAQs
Lamassu admin server. First part of Lamassu stack you need to install.
The npm package lamassu-admin receives a total of 31 weekly downloads. As such, lamassu-admin popularity was classified as not popular.
We found that lamassu-admin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.