Skip to content

Commit 02f53cc

Browse files
committed
since this is backend only, get rid of server folder
1 parent bc52910 commit 02f53cc

16 files changed

+17
-58
lines changed

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
.DS_Store
1717
Thumbs.db
1818

19-
server/.Cargo.toml.swp
2019
**/*.rs.swp
2120
**/target/debug/**
2221
**/target/x86_64-pc-windows-gnu/
2322
.vscode/settings.json
24-
server/conduit.toml
25-
server/target/**
23+
conduit.toml
24+
target/**
25+
.Cargo.toml.swp
File renamed without changes.
File renamed without changes.
File renamed without changes.

build.cmd

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
1-
cd server
2-
call build.cmd
1+
set RUST_BACKTRACE=1
2+
3+
IF EXIST "C:\Secrets\Conduit.toml" ( COPY C:\Secrets\Conduit.toml .\ )
4+
IF EXIST "E:\Secrets\Conduit.toml" ( COPY E:\Secrets\Conduit.toml .\ )
5+
cargo build
36
if errorlevel 1 (
47
exit /b %errorlevel%
58
)
6-
cd ..
9+
start /B run.cmd
10+
cargo test
11+
if errorlevel 1 (
12+
taskkill /F /IM server.exe
13+
exit /b %errorlevel%
14+
)
15+
taskkill /F /IM server.exe
716
exit 0
File renamed without changes.
File renamed without changes.

server/locbld.cmd renamed to locbld.cmd

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,3 @@ if errorlevel 1 (
1515
exit /b %errorlevel%
1616
)
1717
taskkill /F /IM server.exe
18-
exit 0

readme.md

Lines changed: 2 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,5 @@
1-
# ![RealWorld Example App](logo.png)
2-
3-
[![Build status](https://ci.appveyor.com/api/projects/status/8s17p2vh2f4e8a2y?svg=true)](https://ci.appveyor.com/project/davidpodhola/rust-realworld-example-app)
4-
5-
> ### Rust codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the [RealWorld](https://github.com/gothinkster/realworld-example-apps) spec and API.
6-
7-
8-
### [Demo](https://rust-nickel-azure-web-app.azurewebsites.net/)    [RealWorld](https://github.com/gothinkster/realworld)
9-
10-
11-
This codebase was created to demonstrate a fully fledged fullstack application built with **[YOUR_FRAMEWORK]** including CRUD operations, authentication, routing, pagination, and more.
12-
13-
We've gone to great lengths to adhere to the **[YOUR_FRAMEWORK]** community styleguides & best practices.
14-
15-
For more information on how to this works with other frontends/backends, head over to the [RealWorld](https://github.com/gothinkster/realworld) repo.
16-
17-
18-
# How it works
19-
20-
> Describe the general architecture of your app here
21-
> Test with
22-
>
23-
> - [http://127.0.0.1:6767/](http://127.0.0.1:6767/) or [https://rust-nickel-azure-web-app.azurewebsites.net/](https://rust-nickel-azure-web-app.azurewebsites.net/)
24-
> - [http://127.0.0.1:6767/api/test1/123](http://127.0.0.1:6767/api/test1/123) or [https://rust-nickel-azure-web-app.azurewebsites.net/api/test1/123](https://rust-nickel-azure-web-app.azurewebsites.net/api/test1/123)
25-
> - [http://127.0.0.1:6767/api/test2/507c7f79bcf86cd7994f6c0e](http://127.0.0.1:6767/api/test2/507c7f79bcf86cd7994f6c0e) or [https://rust-nickel-azure-web-app.azurewebsites.net/api/test2/507c7f79bcf86cd7994f6c0e](https://rust-nickel-azure-web-app.azurewebsites.net/api/test2/507c7f79bcf86cd7994f6c0e)
26-
27-
# Getting started
28-
29-
> npm install, npm start, etc.
1+
How to setup build with tests
2+
========================
303

314
1. Get a Microsoft SQL Server **2017+**. SQL Express Edition is OK (when released), Azure SQL Database is OK, LocalDB does **NOT** work.
325
* if you want to get SQL Express installed on the default instance (meaning you will not have to include the instance name), you can use this [Chocolatey](chocolatey.org) command `choco install sql-server-express -ia "/IACCEPTSQLSERVERLICENSETERMS /Q /ACTION=install /INSTANCEID=MSSQLSERVER /INSTANCENAME=MSSQLSERVER /UPDATEENABLED=FALSE" -o -y`

server/run.cmd renamed to run.cmd

File renamed without changes.

server/README.MD

Lines changed: 0 additions & 6 deletions
This file was deleted.

server/build.cmd

Lines changed: 0 additions & 16 deletions
This file was deleted.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)