Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
Ephemeral
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Volkor Barbarian Warrior
Ephemeral
Commits
82416edc
Verified
Commit
82416edc
authored
1 year ago
by
Volkor Barbarian Warrior
Browse files
Options
Downloads
Patches
Plain Diff
docs: fix up the README.md a bit
parent
143769c1
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+6
-8
6 additions, 8 deletions
README.md
with
6 additions
and
8 deletions
README.md
+
6
−
8
View file @
82416edc
...
...
@@ -27,7 +27,6 @@ Eventually we'll have 2 different environments, development and production, each
0.
Make sure you have a /supported/ database installed and working, either sqlite, or Postgres.
1.
Initialise the database with the following command
`sqlite3 ephemeral.db < schema.sql`
1.
1. If you want to speed up sqlite a little bit more, run
`sqlite3 ephemeral.db`
and then
`PRAGMA synchronous = OFF;`
and then Ctrl+D
2.
Compile and run ephemeral with
`LOG=debug cargo run`
for the debug build.
`LOG=info cargo run -r`
will run the release build.
### Production (nginx proxy)
...
...
@@ -35,8 +34,7 @@ Eventually we'll have 2 different environments, development and production, each
This is the exact setup I'm using to run the test instance
<https://cz0.au>
0.
git clone this repo. preferably as
`/opt/ephemeral/`
1.
Create the DB
`sqlite3 ephemeral.db < schema.sql`
(Half broken, requires a dummy file to compile)
2.
If you want to speed up sqlite a little bit more, run
`sqlite3 ephemeral.db`
and then
`PRAGMA synchronous = OFF;`
and then Ctrl+D
1.
Create the DB
`sqlite3 ephemeral.db < schema.sql`
3.
Copy the systemd service
`sudo cp ephemeral.service /etc/systemd/system/`
, editing if necessary
4.
Compile the release version.
`cargo build --release`
5.
Use
`/docs/nginx.conf`
as a base for your nginx config. You're on your own for this.
...
...
@@ -59,8 +57,8 @@ TODO: Test this please before I start using it publically, it rEALLY isn't a sma
## Acknowledgements
exhail - seriously, without your babying me on IRC, I woudln't have been able to do this.
audron - who told me to use rust in the first place, and showed me a bunch of cool stuff.
Areganno - improved upon the StableDiffusion logo. (and by that I mean completely remade it)
Shadowhand & hailey - I had a moment of weakness while writing nginx configs, and they were there when I needed them the most.
rdqsr - For the brilliant work with the progress bar uploading thingy, it looks and works wonderfully!
-
exhail - seriously, without your babying me on IRC, I woudln't have been able to do this.
-
audron - who told me to use rust in the first place, and showed me a bunch of cool stuff.
-
Areganno - improved upon the StableDiffusion logo. (and by that I mean completely remade it)
-
Shadowhand & hailey - I had a moment of weakness while writing nginx configs, and they were there when I needed them the most.
-
rdqsr - For the brilliant work with the progress bar uploading thingy, it looks and works wonderfully!
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment